Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Visibility Enumeration

Specifies the display state of an element.

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

type Visibility
<object property="enumerationMemberName" .../>

Member nameDescription
CollapsedDo not display the element, and do not reserve space for it in layout.
HiddenDo not display the element, but reserve space for the element in layout.
VisibleDisplay the element.

Elements that have a Visibility value of Collapsed do not occupy any layout space. By default, elements are Visible.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft