Bewerken

Delen via


UIView.Hidden Property

Definition

Specifies whether the UIView displays or not.

public virtual bool Hidden { [Foundation.Export("isHidden")] get; [Foundation.Export("setHidden:")] set; }
member this.Hidden : bool with get, set

Property Value

The default value is false.

Attributes

Remarks

A hidden UIView does not display and does not receive input events. It does, however, participate in resizing and layout events and remains in its Superview's list of Subviewss.

A hidden UIView hides its descendant views in addition to hiding itself. This does not affect the Hidden property of the descendant views. Thus, a UIView may be hidden even though its Hidden property is false.

Applies to