This method is called by the runtime when assigning a new UIKit.UIWindow to the
UIKit.UIView's view hierarcy. This method will be called on all UIKit.UIViews
in the hierarchy, not just the top-level UIKit.UIView.
Syntax
'Declaration
<Foundation.ExportAttribute("willMoveToWindow:")>
<CompilerGeneratedAttribute()>
Public Overrides Sub WillMoveToWindow( _
ByVal As UIKit.UIWindow _
)
'Usage
Dim instance As C1DropDown
Dim window As UIKit.UIWindow
instance.WillMoveToWindow(window)
[Foundation.Export("willMoveToWindow:")]
[CompilerGenerated()]
public override void WillMoveToWindow(
UIKit.UIWindow
)
Parameters
- window
- Called before the window at the root of the UIKit.UIView's view hierarchy changes.This parameter can be null.
See Also