UIElement.Visibility property

Expand
0 out of 1 rated this helpful - Rate this topic

UIElement.Visibility property

[This documentation is preliminary and is subject to change.]

Gets or sets the visibility of a UIElement. A UIElement that is not visible is not rendered and does not communicate its desired size to layout.

Syntax


public Visibility Visibility { get; set; }


<uiElement Visibility="Visible"/>
-or-
<uiElement Visibility="Collapsed"/>

Property value

Type: Visibility

A value of the enumeration. The default value is Visible.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

UIElement

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD