UIElement3D.Visibility Property

Definition

Gets or sets the user interface (UI) visibility of this element.

public:
 property System::Windows::Visibility Visibility { System::Windows::Visibility get(); void set(System::Windows::Visibility value); };
[System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)]
public System.Windows.Visibility Visibility { get; set; }
[<System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)>]
member this.Visibility : System.Windows.Visibility with get, set
Public Property Visibility As Visibility

Property Value

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

Attributes

Remarks

Setting this property affects the value of IsVisible, which in turn may raise the IsVisibleChanged event. However, IsVisible has other factors that influence it, for instance the visibility settings of parents that contain it.

Elements where Visibility is not Visible do not participate in input events (or commands) and are not reported in hit testing.

Visibility is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Dependency Property Information

Identifier field VisibilityProperty
Metadata properties set to true None

Applies to

See also