Skip to main content

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.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

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