BaseColumn.VisibleIndex Property
In This Article
Gets or sets the column's position among visible columns. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
[XtraSerializableProperty]
[XtraResetProperty(ResetPropertyMode.None)]
[GridUIProperty]
[Browsable(false)]
public int VisibleIndex { get; set; }
#Property Value
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.
See Also