Skip to main content

BaseColumn.VisibleIndex Attached Property

Gets or sets the column’s position among visible columns. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

Returns

Type Description
Int32

An integer value that specifies the column’s position among visible columns.

Remarks

A column’s visible order doesn’t correspond to its position within the grid’s GridControl.Columns collection. The column’s visual position is specified by its VisibleIndex property. The column, whose VisibleIndex property value is set to 0 is leftmost within a View, etc.

To learn more, see Columns Layout and Width.

The following code snippets (auto-collected from DevExpress Examples) contain references to the VisibleIndex attachedproperty.

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.

See Also