Свойство | Type | Description | |
---|---|---|---|
BuildNodeTreePath | |||
CheckNodeIsValid | void | ||
InitializeComponent | void | ||
InitializeElementTree | void | ||
InitializeTreeWalker | void | ||
PrepareNodeToExpand | void | ||
ScopeToElement_Click | void | ||
SetSelectedNodeActiveColor | void | ||
SetSelectedNodeTransparentColor | void | ||
_elementsTreeView_AfterSelect | void | ||
_elementsTreeView_BeforeExpand | void | ||
_elementsTreeView_BeforeSelect | void | ||
_elementsTreeView_NodeMouseClick | void | ||
goToFirstChildrenToolStripMenuItem_Click | void | ||
goToLastChildrenToolStripMenuItem_Click | void | ||
goToNextSiblingToolStripMenuItem_Click | void | ||
goToParentToolStripMenuItem_Click | void | ||
goToPreviousSiblingToolStripMenuItem_Click | void | ||
refreshToolStripMenuItem_Click | void | ||
setControlToolStripMenuItem_Click | void | ||
snapToolStripMenuItem_Click | void |
Méthode | Description | |
---|---|---|
AutomationElementTreeControl ( ) : System |
Initilizes new instance of control
|
|
BuildTreeFromRootToElement ( AutomationElement element ) : |
this method will build tree from the AutomationElementTreeControl.RootElement to focusedElement
|
|
GoToFirstChildFromNode ( |
This method will select first child currentTestTypeRootNode from the parameter currentTestTypeRootNode in a tree. If there is no child currentTestTypeRootNode then nothing happens.
|
|
GoToLastChildFromNode ( |
This method will select last child currentTestTypeRootNode from the parameter currentTestTypeRootNode in a tree. If there is no child currentTestTypeRootNode then nothing happens.
|
|
GoToNextSiblingFromNode ( |
This method will select next sibling currentTestTypeRootNode from the parameter currentTestTypeRootNode in a tree. If there is no next sibling nothing happens.
|
|
GoToParentFromNode ( |
This method will select to parent AutomationElement from the currentTestTypeRootNode. If the parent element is not in a tree then this method will try to find the element and show him in a tree.
|
|
GoToPreviousSiblingFromNode ( |
This method will select previous sibling currentTestTypeRootNode from the parameter currentTestTypeRootNode in a tree. If there is no previous sibling nothing happens.
|
|
IsMember ( AutomationElement element ) : bool |
|
|
MarkElementLive ( |
This method marks currentTestTypeRootNode in param as 'live' so it will listen to StructureChangedEvent and everytime the event fires the currentTestTypeRootNode will be refeshed.
|
|
RefreshNode ( |
This method will refresh currentTestTypeRootNode...
|
|
ScopeToNode ( |
This method causes that the currentTestTypeRootNode in param becomes a root of a tree.
|
|
SetFocusToElement ( AutomationElement element ) : void |
this method will set focus to the automation element
|
|
SnapMouseToClickablePoint ( AutomationElement element ) : void |
This method will snap mouse cursor to element's clickable point.
|
|
StartFocusTracing ( ) : void |
this method starts listening to AutomationFocusChange event and highlights automationelement belonging to focused control in the tree.
|
|
StartHoverMode ( ) : void |
this method starts hover mode.
|
|
StopFocusTracing ( ) : void |
This method stops highlighting of focused control
|
|
StopHoverMode ( ) : void |
This method stops hover mode
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnSelectedNodeChanged ( ) : void |
this methid will raise SelectedNodeChanged event
|
Méthode | Description | |
---|---|---|
BuildNodeTreePath ( |
this method will build currentTestTypeRootNode tree from rootNode to last item in path
|
|
CheckNodeIsValid ( |
This method is for validating that currentTestTypeRootNode in parametr is not null and belongs to this tree
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
InitializeElementTree ( ) : void |
This method initiliazes all required classes and builds a tree from the root element.
|
|
InitializeTreeWalker ( ) : void |
this method will asign default tree walker if there is not asigned one
|
|
PrepareNodeToExpand ( |
This method will make sure that for every child currentTestTypeRootNode of the currentTestTypeRootNode in parameter all children will be populated
|
|
ScopeToElement_Click ( object sender, EventArgs e ) : void | ||
SetSelectedNodeActiveColor ( ) : void | ||
SetSelectedNodeTransparentColor ( ) : void | ||
_elementsTreeView_AfterSelect ( object sender, TreeViewEventArgs e ) : void | ||
_elementsTreeView_BeforeExpand ( object sender, TreeViewCancelEventArgs e ) : void | ||
_elementsTreeView_BeforeSelect ( object sender, TreeViewCancelEventArgs e ) : void | ||
_elementsTreeView_NodeMouseClick ( object sender, TreeNodeMouseClickEventArgs e ) : void | ||
goToFirstChildrenToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
goToLastChildrenToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
goToNextSiblingToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
goToParentToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
goToPreviousSiblingToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
refreshToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
setControlToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
snapToolStripMenuItem_Click ( object sender, EventArgs e ) : void |
public AutomationElementTreeControl ( ) : System | ||
Résultat | System |
public BuildTreeFromRootToElement ( AutomationElement element ) : |
||
element | AutomationElement | |
Résultat |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Résultat | void |
public GoToFirstChildFromNode ( |
||
node | ||
Résultat | void |
public GoToLastChildFromNode ( |
||
node | ||
Résultat | void |
public GoToNextSiblingFromNode ( |
||
node | ||
Résultat | void |
public GoToParentFromNode ( |
||
node | ||
Résultat | void |
public GoToPreviousSiblingFromNode ( |
||
node | ||
Résultat | void |
public IsMember ( AutomationElement element ) : bool | ||
element | AutomationElement | |
Résultat | bool |
public MarkElementLive ( |
||
node | ||
live | bool | |
Résultat | void |
public RefreshNode ( |
||
Node | ||
Résultat | void |
public ScopeToNode ( |
||
node | ||
Résultat | void |
public static SetFocusToElement ( AutomationElement element ) : void | ||
element | AutomationElement | |
Résultat | void |
public SnapMouseToClickablePoint ( AutomationElement element ) : void | ||
element | AutomationElement | |
Résultat | void |