Skip to main content

ASPxTreeList.DataColumns Property

Gets the collection of data columns within the ASPxTreeList control.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.2.dll

Declaration

public ReadOnlyTreeListColumnCollection<TreeListDataColumn> DataColumns { get; }

Property Value

Type Description
ReadOnlyTreeListColumnCollection<TreeListDataColumn>

A ReadOnlyTreeListColumnCollection<T><TreeListDataColumn,> object that is a collection of data columns.

Remarks

The DataColumns property provides access to a collection that contains data columns of the ASPxTreeList control. This collection is read-only, since individual columns can be manipulated (added or removed) at the level of a tree list control (ASPxTreeList.Columns). The collection obtained via the DataColumns property allows you to easily iterate through data columns and access any required column identified by its name, field name, or caption.

See Also