Gets or sets the visibility of a
System.Windows.UIElement. A
System.Windows.UIElement that is not visible does not render and does not communicate its desired size to layout.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property Visibility As System.Windows.Visibility |
| C# | |
|---|
public System.Windows.Visibility Visibility {get; set;} |
Property Value
A value of the enumeration. The default value is
System.Windows.Visibility.Visible.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also