TreeList.GetColumnByVisibleIndex(Int32) Method

Returns a column by its visible index.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public TreeListColumn GetColumnByVisibleIndex(
    int visibleIndex
)
Public Function GetColumnByVisibleIndex(
    visibleIndex As Integer
) As TreeListColumn

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