Skip to main content
A newer version of this page is available. .

ColumnBase.VisibleIndex Attached Property

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

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll

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 grid, etc.

Note

The VisibleIndex of the hidden columns (i.e. columns whose ColumnBase.Visible property is set to false) is -1.

See Also