Gets a value indicating whether this element is visible in the user interface (UI). This is a dependency property.

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

public bool IsVisible { get; }
property bool IsVisible {
	bool get();
member IsVisible : bool with get
Public ReadOnly Property IsVisible As Boolean

Property Value


true if the element is visible; otherwise, false.


Determination of the value takes all factors of layout into account. In contrast, , which is a settable property, only indicates the intention to programmatically make an element visible or invisible.

Elements where is false do not participate in input events (or commands), do not influence either the measure or arrange passes of layout, are not focusable, are not in a tab sequence, and will not be reported in hit testing. In contrast, elements where is false will still participate in events and commands, and hit testing, but are also not focusable.

Dependency Property Information

Identifier field


Metadata properties set to true


Version Information
.NET Framework
Available since 3.0
Return to top