Skip to main content

TreeList.GetColumnByColumnHandle(Int32) Method

Gets the column by the bound field’s index within the data source.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public TreeListColumn GetColumnByColumnHandle(
    int columnHandle
)

Parameters

Name Type Description
columnHandle Int32

An integer value representing the zero-based index of the field whose bound column is sought for.

Returns

Type Description
TreeListColumn

A TreeListColumn object representing the column with the specified bound field index.

Remarks

When a column is bound to a data source field, the field’s index is assigned to the column’s TreeListColumn.ColumnHandle property.

See Also