UIKit.UIView.WillMoveToSuperview Method
Called before the UIView.Superview changes.

Syntax

[Foundation.Export("willMoveToSuperview:")]
public virtual void WillMoveToSuperview (UIView newsuper)

See Also

UIView.MovedToSuperview

Parameters

newsuper

The UIKit.UIView to which this UIKit.UIView is being moved.

This parameter can be null.

Remarks

This method is called by the runtime when assigning the UIView.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.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0