Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BandedGridColumn.VisibleIndex Property

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

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.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