Skip to main content

TreeList.GetColumnByVisibleIndex(Int32) Method

Returns a column by its visible index.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

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

Declaration

public TreeListColumn GetColumnByVisibleIndex(
    int visibleIndex
)

Parameters

Name Type Description
visibleIndex Int32

An integer value representing the column’s index among other visible columns.

Returns

Type Description
TreeListColumn

A TreeListColumn object or its descendant representing a column displayed at the position specified among other visible columns. null (Nothing in Visual Basic) if there is no column at the specified position.

Remarks

This method only returns visible columns, whose TreeListColumn.VisibleIndex property is set to true. To get a column regardless of its visible state, use the TreeList.GetColumnByColumnHandle method.

See Also