Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeList.GetColumnByColumnHandle(Int32) Method

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.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