title | author | description | keywords |
---|---|---|---|
FocusTracker XAML Control |
nmetulev |
The FocusTracker Control can be used to display information about the current focused XAML element (if any). |
windows 10, uwp, windows community toolkit, uwp community toolkit, uwp toolkit, FocusTracker, XAML Control, xaml |
The FocusTracker Control can be used to display information about the current focused XAML element (if any).
FocusTracker will display the following information (when available) about the current focused XAML element:
- Name
- Type
- AutomationProperties.Name
- Name of the first parent in hierarchy with a name
[!div class="nextstepaction"] Try it in the sample app
<developerTools:FocusTracker IsActive="True"/>
Property | Type | Description |
---|---|---|
IsActive | bool | Gets or sets a boolean indicating whether the tracker is running or not |
FocusTracker Sample Page Source. You can see this in action in the Windows Community Toolkit Sample App.
Device family | Universal, 10.0.16299.0 or higher |
---|---|
Namespace | Microsoft.Toolkit.Uwp.DeveloperTools |
NuGet package | Microsoft.Toolkit.Uwp.DeveloperTools |