UIView.Hidden Property


Specifies whether the UIView displays or not.

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

Property Value


The default value is false.



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