IsHitTestVisible
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets or sets a value that indicates whether the contained area of this UIElement can be used for hit-testing.
<object IsHitTestVisible="Boolean" .../>
value = object.IsHitTestVisible
object.IsHitTestVisible = value
Property Value
Type: Boolean
true if the contained area of this UIElement can be used for hit-testing; otherwise, false.
This property is read/write. The default value is true.
Remarks
If this property is set to false, the element ignores any input events, such as MouseLeftButtonUp.
Applies To
Border (Silverlight 2)
PasswordBox (Silverlight 2)
Popup (Silverlight 2)
StackPanel (Silverlight 2)
TextBox (Silverlight 2)