Visual.IsHitTestVisible Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the visual sub-tree rooted at this visual participates in 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 = visual.isHitTestVisible;
visual.isHitTestVisible = boolean;
Public Property IsHitTestVisible As Boolean
Property Value
Boolean
bool
true
if the visual sub-tree rooted at this visual participates in hit testing; otherwise, false
. The default is true
.
Windows requirements
Device family |
Windows 10, version 2004 (introduced in 10.0.19041.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v10.0)
|
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro