GridBand() Constructor

Creates a new GridBand object.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public GridBand()
Public Sub New

Remarks

Use this constructor to create bands at runtime. To display the new band at the root bands level, it must be added to the View's BandedGridView.Bands collection. To display the band as a band's child, add the new band to a band's GridBand.Children collection.

Bands can also be created using methods provided by the GridBandCollection class (these class objects are accessible with the BandedGridView.Bands and GridBand.Children properties). The methods provided create a new band and automatically add it to the collection.

See Also