Свойство | Тип | Описание | |
---|---|---|---|
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 |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnSelectedNodeChanged ( ) : void |
this methid will raise SelectedNodeChanged event
|
Метод | Описание | |
---|---|---|
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 | ||
Результат | System |
public BuildTreeFromRootToElement ( AutomationElement element ) : |
||
element | AutomationElement | |
Результат |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Результат | void |
public GoToFirstChildFromNode ( |
||
node | ||
Результат | void |
public GoToLastChildFromNode ( |
||
node | ||
Результат | void |
public GoToNextSiblingFromNode ( |
||
node | ||
Результат | void |
public GoToParentFromNode ( |
||
node | ||
Результат | void |
public GoToPreviousSiblingFromNode ( |
||
node | ||
Результат | void |
public IsMember ( AutomationElement element ) : bool | ||
element | AutomationElement | |
Результат | bool |
public MarkElementLive ( |
||
node | ||
live | bool | |
Результат | void |
public RefreshNode ( |
||
Node | ||
Результат | void |
public ScopeToNode ( |
||
node | ||
Результат | void |
public static SetFocusToElement ( AutomationElement element ) : void | ||
element | AutomationElement | |
Результат | void |
public SnapMouseToClickablePoint ( AutomationElement element ) : void | ||
element | AutomationElement | |
Результат | void |