ClassDomTreeNode
Class
Represents a node in the DOM Tree that has an ITargetElement associated with it.
Definition
Namespace:ArtOfTest.WebAii.Design.UI
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
cs-api-definition
public class DomTreeNode : ViewModelBase
Inheritance: objectDomTreeNode
Derived Classes:
Constructors
DomTreeNode(ITargetElement, DomTreeNode)
Create the DOM Node.
Declaration
cs-api-definition
public DomTreeNode(ITargetElement element, DomTreeNode parent)
Parameters
element
parent
DomTreeNode(ITargetElement, DomTreeNode, bool)
Create the DOM Node.
Declaration
cs-api-definition
public DomTreeNode(ITargetElement element, DomTreeNode parent, bool includeTagIndex)
Parameters
element
parent
includeTagIndex
Properties
Element
The Element associated with this node.
Header
The header text
ImageSource
The ImageSource to use
Items
Child items of this node.
Declaration
cs-api-definition
public List<DomTreeNode> Items { get; set; }
Property Value
ParentNode
Declaration
cs-api-definition
public DomTreeNode ParentNode { get; set; }
Property Value
SearchDisplayText
The text displayed in the search results
TagName
Get the tagname for this node.
TechnologyType
Get the technology type
Declaration
cs-api-definition
public TechnologyType TechnologyType { get; }
Property Value
Methods
GetNodeText(ViewMode, ITargetElement)
Declaration
cs-api-definition
public static string GetNodeText(ViewMode mode, ITargetElement element)
Parameters
mode
element
Returns
GetSearchPath(DomTreeNode)
Declaration
cs-api-definition
public static string GetSearchPath(DomTreeNode node)
Parameters
node
Returns
SetNodeImage(DomTreeNode)
Declaration
cs-api-definition
public static void SetNodeImage(DomTreeNode node)
Parameters
node