UIView.Superview Property

Definition

The UIView, if any, that contains this UIView in its Subviews.

public virtual UIKit.UIView Superview { [Foundation.Export("superview")] get; }
member this.Superview : UIKit.UIView

Property Value

The default value is null.

Attributes

Remarks

This value may be null, indicating that the UIView is not contained within another UIView's view hierarchy.

Applies to

See also