FocusTracker Class
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.
FocusTracker can be used to display information about the current focused XAML element.
[Windows.UI.Xaml.TemplatePart(Name="ControlName", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))]
[Windows.UI.Xaml.TemplatePart(Name="ControlType", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))]
[Windows.UI.Xaml.TemplatePart(Name="ControlAutomationName", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))]
[Windows.UI.Xaml.TemplatePart(Name="ControlFirstParentWithName", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))]
public class FocusTracker : Windows.UI.Xaml.Controls.Control
[<Windows.UI.Xaml.TemplatePart(Name="ControlName", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))>]
[<Windows.UI.Xaml.TemplatePart(Name="ControlType", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))>]
[<Windows.UI.Xaml.TemplatePart(Name="ControlAutomationName", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))>]
[<Windows.UI.Xaml.TemplatePart(Name="ControlFirstParentWithName", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))>]
type FocusTracker = class
inherit Control
Public Class FocusTracker
Inherits Control
- Inheritance
-
Windows.UI.Xaml.Controls.ControlFocusTracker
- Attributes
-
Windows.UI.Xaml.TemplatePartAttribute
Constructors
| FocusTracker() |
Initializes a new instance of the FocusTracker class. |
Fields
| IsActiveProperty |
Defines the IsActive dependency property. |
Properties
| IsActive |
Gets or sets a value indicating whether the tracker is running or not. |
Methods
| OnApplyTemplate() |
Update the visual state of the control when its template is changed. |