C# 클래스 VisualUIAVerify.Controls.AutomationElementTreeNode

Represents currentTestTypeRootNode in AutomationElementsTreeControl
파일 보기 프로젝트 열기: geeksree/cSharpGeeks 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AutomationElement System.Windows.Automation.AutomationElement
AutomationElementTreeControl AutomationElementTreeControl

Private Properties

프로퍼티 타입 설명
AddChildrenNodesToTreeNode void
AddChildrenNodesToTreeNodeInternal void
AutomationElementTreeNode System
CreateChildrenNodes void
CreateTreeNodeForAutomationElement System.Windows.Forms.TreeNode
FindChildNodeForAutomationElementInternal AutomationElementTreeNode
FindOrInsertChildElement AutomationElementTreeNode
InsertChildNode void
SetTreeNodeImageIndex void

공개 메소드들

메소드 설명
EnsureChildrenNodesPopulated ( ) : void

This methid Ensures that children nodes of this nodes are populated

EnsureChildrenNodesPopulated ( bool Asynchronous ) : void

This methid Ensures that children nodes of this nodes are populated

FindChildNodeForAutomationElement ( AutomationElement automationElement ) : AutomationElementTreeNode

this method will find AutomatinElementTreeNode for automationElement in children collection

RefreshChildrenNodes ( ) : void

This method will refresh children nodes

비공개 메소드들

메소드 설명
AddChildrenNodesToTreeNode ( ICollection childrenNodes, bool clearChildrenCollection, bool onlyInsertNew ) : void
AddChildrenNodesToTreeNodeInternal ( ICollection childrenNodes, bool clearChildrenCollection, bool onlyInsertNew ) : void

This method adds child nodes to this.TreeNode. This can run only on UIThread!

AutomationElementTreeNode ( AutomationElement element, TreeNode node, AutomationElementTreeControl automationElementTreeControl ) : System
CreateChildrenNodes ( bool beAwareOfExisting ) : void

This method creates children nodes.

CreateTreeNodeForAutomationElement ( AutomationElement element ) : TreeNode

This is only a helper function to create TreeNode to AutomationElement.

FindChildNodeForAutomationElementInternal ( AutomationElement element ) : AutomationElementTreeNode
FindOrInsertChildElement ( AutomationElement automationElement ) : AutomationElementTreeNode

This method will insert currentTestTypeRootNode for automationElement between child nodes of this currentTestTypeRootNode. If there is existing currentTestTypeRootNode for the automationElement in children collection then return existing currentTestTypeRootNode.

InsertChildNode ( TreeNode childNode ) : void

This method will insert currentTestTypeRootNode between child nodes of this currentTestTypeRootNode

SetTreeNodeImageIndex ( ) : void

this method sets image index for this currentTestTypeRootNode

메소드 상세

EnsureChildrenNodesPopulated() 공개 메소드

This methid Ensures that children nodes of this nodes are populated
public EnsureChildrenNodesPopulated ( ) : void
리턴 void

EnsureChildrenNodesPopulated() 공개 메소드

This methid Ensures that children nodes of this nodes are populated
public EnsureChildrenNodesPopulated ( bool Asynchronous ) : void
Asynchronous bool If true then creating of children will be performed on another thread.
리턴 void

FindChildNodeForAutomationElement() 공개 메소드

this method will find AutomatinElementTreeNode for automationElement in children collection
public FindChildNodeForAutomationElement ( AutomationElement automationElement ) : AutomationElementTreeNode
automationElement System.Windows.Automation.AutomationElement
리턴 AutomationElementTreeNode

RefreshChildrenNodes() 공개 메소드

This method will refresh children nodes
public RefreshChildrenNodes ( ) : void
리턴 void

프로퍼티 상세

AutomationElement 공개적으로 프로퍼티

Which AutomationElement does this currentTestTypeRootNode belong to
public AutomationElement,System.Windows.Automation AutomationElement
리턴 System.Windows.Automation.AutomationElement

AutomationElementTreeControl 공개적으로 프로퍼티

Which AutomationElementTreeControl does this currentTestTypeRootNode belong to
public AutomationElementTreeControl,VisualUIAVerify.Controls AutomationElementTreeControl
리턴 AutomationElementTreeControl