Back to Devexpress

GridBandColumnCollection.Remove(BandedGridColumn) Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-gridbandcolumncollection-dot-remove-x28-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-bandedgridcolumn-x29.md

latest2.5 KB
Original Source

GridBandColumnCollection.Remove(BandedGridColumn) Method

Removes a column from the collection.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public virtual void Remove(
    BandedGridColumn column
)
vb
Public Overridable Sub Remove(
    column As BandedGridColumn
)

Parameters

NameTypeDescription
columnBandedGridColumn

A BandedGridColumn object representing the column to remove.

|

Remarks

To move a column to another band’s column collection, use the target column collection’s GridBandColumnCollection.Add or GridBandColumnCollection.Insert method.

See Also

Add(BandedGridColumn)

Insert(Int32, BandedGridColumn)

GridBandColumnCollection Class

GridBandColumnCollection Members

DevExpress.XtraGrid.Views.BandedGrid Namespace