Class
TreeListDataItem

RadTreeList for ASP.NET AJAX Data Item wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class TreeListDataItem : HtmlTableRow

Inheritance: objectControlHtmlControlHtmlContainerControlHtmlTableRowTreeListDataItem

Inherited Members HtmlTableRow.AlignHtmlTableRow.RowIndexHtmlTableRow.this[int]HtmlTableRow.CellsHtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.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.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

TreeListDataItem()

Initializes a new instance of the TreeListDataItem class.

Declaration

cs-api-definition
public TreeListDataItem()

TreeListDataItem(Element)

Initializes a new instance of the TreeListDataItem class.

Declaration

cs-api-definition
public TreeListDataItem(Element element)

Parameters

element

Element

Properties

AllCells

Get the list of item's data cells direct children.

Declaration

cs-api-definition
public IList<TreeListDataCell> AllCells { get; }

Property Value

IList<TreeListDataCell>

CanEdit

Get whether the item can be edited, e.g. whether the Grid parent table contains built-in edit column.

Declaration

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

Property Value

bool

CanExpand

Get whether the item can be expanded.

Declaration

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

Property Value

bool

CanLiteExpand

Get whether the item can be expanded (lite).

Declaration

cs-api-definition
[Obsolete("This method is obsolete. Use CanExpand instead.", false)]
public bool CanLiteExpand { get; }

Property Value

bool

CanSelect

Get whether the item can be selected, e.g. whether the TreeList has _clientSettings._selecting._allowItemSelection set to 'true'.

Declaration

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

Property Value

bool

ClientSideLocator

Get the control client-side locator, determining which base script initializes the data item object on the client.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

Edited

Gets whether the item is in edit mode.

Declaration

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

Property Value

bool

Expanded

Gets whether the item is expanded.

Declaration

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

Property Value

bool

FirstDataCell

The first cell in the row which contains data.

Declaration

cs-api-definition
public TreeListDataCell FirstDataCell { get; }

Property Value

TreeListDataCell

Index

Gets the global index of the row in the TreeList.

Declaration

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

Property Value

int

LevelIndex

The index of the item for the level.

Declaration

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

Property Value

int

LiteExpanded

Gets whether the item is expanded (lite).

Declaration

cs-api-definition
[Obsolete("This method is obsolete. Use Expanded instead.", false)]
public bool LiteExpanded { get; }

Property Value

bool

LocatorExpression

Get the item locator IFindExpression.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

NestedLevel

The nested level of the Item. Zero based.

Declaration

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

Property Value

int

Selected

Get whether the item is selected.

Declaration

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

Property Value

bool

Methods

AssignElement(Element)

Assign a base element for this control.

Declaration

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

Parameters

e

Element

The element associated with the control.

Overrides HtmlTableRow.AssignElement(Element)

Collapse()

Collapse the current item.

Declaration

cs-api-definition
public void Collapse()

ControlAssert()

Returns RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

Expand()

Expand the current item.

Declaration

cs-api-definition
public void Expand()

GetAbsoluteRowIndex(string)

Gets the absolute (non-hierarchical) index of the row.

Declaration

cs-api-definition
public static int GetAbsoluteRowIndex(string id)

Parameters

id

string

The Id of the row.

Returns

int

The index of the row.

GetRowIndex(string)

Gets the row index of a row.

Declaration

cs-api-definition
public static int GetRowIndex(string id)

Parameters

id

string

The Id of the row.

Returns

int

The index of the row.

LiteCollapse()

Collapse the current item (lite).

Declaration

cs-api-definition
[Obsolete("This method is obsolete. Use Collapse instead.", false)]
public void LiteCollapse()

LiteExpand()

Expand the current item (lite).

Declaration

cs-api-definition
[Obsolete("This method is obsolete. Use Expand instead.", false)]
public void LiteExpand()

Select()

Selects the current item.

Declaration

cs-api-definition
public void Select()