TreeList.GetColumnByColumnHandle(Int32) Method

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public TreeListColumn GetColumnByColumnHandle(
    int columnHandle
)
Public Function GetColumnByColumnHandle(
    columnHandle As Integer
) As TreeListColumn

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