C# Class VisualUIAVerify.Features.FocusTracer

This class is focus-change listener. When focus tracing is started then AutomationElement in tree for focused control is highlighted.
Inheritance: VisualUIAVerify.Utils.FocusChangeListener
Afficher le fichier Open project: TestStack/UIAVerify Class Usage Examples

Méthodes publiques

Méthode Description
FocusTracer ( AutomationElementTreeControl TreeControl ) : System

Méthodes protégées

Méthode Description
OnAutomationFocusChanged ( AutomationElement element ) : void
OnEndFocusTracing ( ) : void

Private Methods

Méthode Description
HightlightNode ( AutomationElementTreeNode newFocusedNode ) : void

this method will highlight newFocusedNode in the tree

InitiliazeBackgroundWorker ( ) : void

this will set instance of background thread worker.

ReleaseInstanceOfBackgroundWorker ( ) : void

this will release instance of background thread worker.

focusChangedWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
focusChangedWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
focusChangedWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

FocusTracer() public méthode

public FocusTracer ( AutomationElementTreeControl TreeControl ) : System
TreeControl VisualUIAVerify.Controls.AutomationElementTreeControl
Résultat System

OnAutomationFocusChanged() protected méthode

protected OnAutomationFocusChanged ( AutomationElement element ) : void
element System.Windows.Automation.AutomationElement
Résultat void

OnEndFocusTracing() protected méthode

protected OnEndFocusTracing ( ) : void
Résultat void