Skip to main content
A newer version of this page is available. .

GridBandCollection(BandedGridView, GridBand) Constructor

Creates a new instance of the GridBandCollection class.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v18.2.dll

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