Skip to main content

BandedGridColumn.VisibleIndex Property

Gets or sets the column’s position among visible columns.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public override int VisibleIndex { get; set; }

Property Value

Type Description
Int32

An integer value specifying the column’s zero-based index among visible columns.

Remarks

Setting the VisibleIndex property to -1 hides the column. In this case, the column header is displayed within the Customization Form (provided that the column’s OptionsColumn.ShowInCustomizationForm option is enabled).

Note that assigning values greater than -1 has no effect. To change the column’s position among visible columns in Banded Grid Views, use the GridBandColumnCollection.MoveTo method. In Advanced Banded Grid Views, use the AdvBandedGridView.SetColumnPosition method.

See Also