BandedGridColumn.ColIndex Property
Gets a column’s horizontal position within a band row.
Namespace: DevExpress.XtraGrid.Views.BandedGrid
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer value representing the zero-based index of a column within a band row. -1 if the column has no parent band. |
Remarks
Use this property to obtain a column’s horizontal position within a band row. The row containing the banded column can be identified by the BandedGridColumn.RowIndex property. This can be useful when it is necessary to get the visible position of a column within a band.
To move a column to a new position within a band, use the AdvBandedGridView.SetColumnPosition method. To move a column to another band, use the column’s BandedGridColumn.OwnerBand property.
See Also