Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets whether the contained area of this UIElement can be used for hit-testing.
XAML |
<object IsHitTestVisible="Boolean" .../>
|
Scripting |
value = object.IsHitTestVisible object.IsHitTestVisible = value |
Property Value
Determines whether the contained area of this UIElement can be used for hit-testing.
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
Canvas, Ellipse, Glyphs, Image, InkPresenter, Line, MediaElement, Path, Polygon, Polyline, Rectangle, Shape, TextBlock