Edit

Share via


FocusTracker Class

Definition

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.Control
FocusTracker
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.

Applies to