Class
KendoTreeNode

KendoTreeNode control.

Definition

Namespace:Telerik.TestingFramework.Controls.KendoUI

Assembly:Telerik.TestingFramework.Controls.KendoUI.dll

Syntax:

cs-api-definition
public class KendoTreeNode : KendoUIControlBase

Inheritance: objectControlHtmlControlKendoUIControlBaseKendoTreeNode

Inherited Members KendoUIControlBase.matchExpressionKendoUIControlBase.ControlAssert()KendoUIControlBase.SetTelerikComponentsVersion(TelerikComponentsVersion?)KendoUIControlBase.LocatorExpressionHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ClientSideLocatorHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

KendoTreeNode()

Initializes a new instance of the KendoMenuItem class.

Declaration

cs-api-definition
public KendoTreeNode()

KendoTreeNode(Element)

Initializes a new instance of the KendoTreeView class.

Declaration

cs-api-definition
public KendoTreeNode(Element element)

Parameters

element

Element

Properties

ChildNodesCount

Get child node count.

Declaration

cs-api-definition
public int ChildNodesCount { get; }

Property Value

int

Disabled

Returns 'true' if the Node is disabled. Otherwise 'false'.

Declaration

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

Property Value

bool

Whether the Node is disabled

Expanded

Returns 'true' if the Node is expanded. Otherwise 'false'.

Declaration

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

Property Value

bool

Whether the Node is expanded

IsRoot

Returns 'true' if the Node is expandable. Otherwise 'false'.

Declaration

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

Property Value

bool

Whether the Node is expandable

NodeIndex

Returns the index of the current node.

Declaration

cs-api-definition
public int NodeIndex { get; }

Property Value

int

NodeName

Get node name.

Declaration

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

Property Value

string

ParentTree

Returns the parent TreeView

Declaration

cs-api-definition
public KendoTreeView ParentTree { get; }

Property Value

KendoTreeView

Selected

Returns 'true' if the Node is selected. Otherwise 'false'.

Declaration

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

Property Value

bool

Whether the Node is selected

Methods

AssignElement(Element)

Assign element and initialize this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The element.

Overrides HtmlControl.AssignElement(Element)

Collapse()

Collapse node

Declaration

cs-api-definition
public void Collapse()

Expand()

Expand node

Declaration

cs-api-definition
public void Expand()

InitializeMatchExpression()

Initializes the control match expression pattern used to identify an element as a specific control.

Declaration

cs-api-definition
protected override void InitializeMatchExpression()

Overrides KendoUIControlBase.InitializeMatchExpression()

Select()

Collapse node

Declaration

cs-api-definition
public void Select()