IXamlDiagnostics2 interface (xamlom.winui.h)
Represents additional capabilities of an IXamlDiagnostics object.
Inheritance
The IXamlDiagnostics2 interface inherits from the IUnknown interface.
Methods
The IXamlDiagnostics2 interface has these methods.
IXamlDiagnostics2::GetUiLayerForXamlRoot Gets the visual diagnostics root that can be used to draw on for highlighting elements in the tree. |
IXamlDiagnostics2::HitTestForXamlRoot Gets all elements in the visual tree that fall within the specified rectangle. |
Remarks
IXamlDiagnostics2 extends the IXamlDiagnostics interface by adding XamlRoot-based APIs to replace IXamlDiagnostics APIs that assume there is only one window.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 (with Windows App SDK 1.0 or later) |
Header | xamlom.winui.h |