UIView.Hidden Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.