C# Class WinRTXamlToolkit.Controls.Extensions.Forms.FocusTracker

Provides a FocusChanged event that fires whenever an element loses focus. Some polling is used for robustness which means the event might fire with a delay or that some rapid focus changes might be missed due to some early failurs coming from relying solely on the UIElement.LostFocus event.
Datei anzeigen Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Methods

Method Description
FocusTracker ( ) : System

Initializes a new instance of the FocusTracker class,

Private Methods

Method Description
OnLostFocus ( object sender, RoutedEventArgs args ) : void
OnTick ( object sender, object o ) : void
RaiseFocusChanged ( UIElement e ) : void

Raises FocusChanged event.

StartFocusTracking ( ) : void
StopFocusTracking ( ) : void
UpdateFocusedElement ( ) : void

Method Details

FocusTracker() public method

Initializes a new instance of the FocusTracker class,
public FocusTracker ( ) : System
return System