TreeList.GetColumnByVisibleIndex(Int32) Method
Returns a column by its visible index.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v19.1.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetColumnByVisibleIndex(Int32) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.