Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridBandCollection(BandedGridView, GridBand) Constructor

Creates a new instance of the GridBandCollection class.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.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