Skip to main content

TreeListColumnCollection.IndexOf(TreeListColumn) Method

Returns the specified column’s position within the collection.

Namespace: DevExpress.Web.ASPxTreeList

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

NuGet Package: DevExpress.Web

Declaration

public int IndexOf(
    TreeListColumn column
)

Parameters

Name Type Description
column TreeListColumn

A TreeListColumn object or descendant to locate in the collection.

Returns

Type Description
Int32

An integer value that specifies the column’s position within the collection. -1 if the collection doesn’t contain the specified column.

See Also