Skip to main content

GridBandCollection(BandedGridView, GridBand) Constructor

Creates a new instance of the GridBandCollection class.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public GridBandCollection(
    BandedGridView view,
    GridBand ownerBand
)

Parameters

Name Type Description
view BandedGridView

A BandedGridView object or its descendant representing a View to which the created collection belongs. This value is assigned to the GridBandCollection.View property.

ownerBand GridBand

A GridBand object representing the band that owns the created band collection. This value is assigned to the GridBandCollection.OwnerBand property.

Remarks

This constructor is automatically called to initialize the BandedGridView.Bands property of GridBand objects. Generally, you will not need to use it in your applications.

See Also