UIElement.IsHitTestVisible Property

Definition

Gets or sets whether the contained area of this UIElement can return true values for hit testing.

C#
public bool IsHitTestVisible { get; set; }
XAML
<uiElement IsHitTestVisible="bool"/>

Property Value

Boolean

true if the contained area of this UIElement can be used for hit testing; otherwise, false. The default is true.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6