UIElement.IsHitTestVisible Property

Definition

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

public:
 property bool IsHitTestVisible { bool get(); void set(bool value); };
bool IsHitTestVisible();

void IsHitTestVisible(bool value);
public bool IsHitTestVisible { get; set; }
var boolean = uIElement.isHitTestVisible;
uIElement.isHitTestVisible = boolean;
Public Property IsHitTestVisible As Boolean
<uiElement IsHitTestVisible="bool"/>

Property Value

Boolean

bool

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

Applies to