Modifier

Partager via


UIView.WillMoveToSuperview(UIView) Method

Definition

Called before the Superview changes.

[Foundation.Export("willMoveToSuperview:")]
public virtual void WillMoveToSuperview (UIKit.UIView newsuper);
abstract member WillMoveToSuperview : UIKit.UIView -> unit
override this.WillMoveToSuperview : UIKit.UIView -> unit

Parameters

newsuper
UIView

The UIView to which this UIView is being moved.

This parameter can be null.

Attributes

Remarks

This method is called by the runtime when assigning the Superview property and is invoked shortly before the change is made.

By default, this method does nothing. Application developers can override the method in order to perform additional processing.

Applies to

See also