Class
DomTreeNode

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: HostTreeNode

Constructors

DomTreeNode(ITargetElement, DomTreeNode)

Create the DOM Node.

Declaration

cs-api-definition
public DomTreeNode(ITargetElement element, DomTreeNode parent)

Parameters

element

ITargetElement

parent

DomTreeNode

DomTreeNode(ITargetElement, DomTreeNode, bool)

Create the DOM Node.

Declaration

cs-api-definition
public DomTreeNode(ITargetElement element, DomTreeNode parent, bool includeTagIndex)

Parameters

element

ITargetElement

parent

DomTreeNode

includeTagIndex

bool

Properties

Element

The Element associated with this node.

Declaration

cs-api-definition
public ITargetElement Element { get; }

Property Value

ITargetElement

Glyph

Declaration

cs-api-definition
public GlyphIcon Glyph { get; set; }

Property Value

GlyphIcon

Header

The header text

Declaration

cs-api-definition
public string Header { get; set; }

Property Value

string

ImageSource

The ImageSource to use

Declaration

cs-api-definition
public string ImageSource { get; set; }

Property Value

string

IsChecked

Declaration

cs-api-definition
public bool IsChecked { get; set; }

Property Value

bool

IsEnabled

Declaration

cs-api-definition
public bool IsEnabled { get; }

Property Value

bool

IsExpanded

Declaration

cs-api-definition
public bool IsExpanded { get; set; }

Property Value

bool

IsSelected

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

Items

Child items of this node.

Declaration

cs-api-definition
public List<DomTreeNode> Items { get; set; }

Property Value

List<DomTreeNode>

ParentNode

Declaration

cs-api-definition
public DomTreeNode ParentNode { get; set; }

Property Value

DomTreeNode

SearchDisplayText

The text displayed in the search results

Declaration

cs-api-definition
public string SearchDisplayText { get; }

Property Value

string

TagName

Get the tagname for this node.

Declaration

cs-api-definition
public string TagName { get; }

Property Value

string

TechnologyType

Get the technology type

Declaration

cs-api-definition
public TechnologyType TechnologyType { get; }

Property Value

TechnologyType

Tooltip

Declaration

cs-api-definition
public string Tooltip { get; }

Property Value

string

UniqueId

The UniqueId of this node. We will use this Id for search

Declaration

cs-api-definition
public string UniqueId { get; }

Property Value

string

Methods

GetNodeText(ViewMode, ITargetElement)

Declaration

cs-api-definition
public static string GetNodeText(ViewMode mode, ITargetElement element)

Parameters

mode

ViewMode

element

ITargetElement

Returns

string

GetSearchPath(DomTreeNode)

Declaration

cs-api-definition
public static string GetSearchPath(DomTreeNode node)

Parameters

node

DomTreeNode

Returns

string

SetNodeImage(DomTreeNode)

Declaration

cs-api-definition
public static void SetNodeImage(DomTreeNode node)

Parameters

node

DomTreeNode