BandedGridColumn.OwnerBand Property
Gets or sets a column’s parent band.
Namespace: DevExpress.XtraGrid.Views.BandedGrid
Assembly: DevExpress.XtraGrid.v20.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
Property Value
Type | Description |
---|---|
GridBand | A GridBand object representing a band to which a column belongs. |
Remarks
If the OwnerBand property value is null (Nothing in Visual Basic), the column is not displayed.
Assigning a band to the OwnerBand property moves the column from its current parent. If the assigned band can accept this column, it is added to its column collection. It is appended to the equivalent band row from where it previously resided. If the required row doesn’t exist, the column is added to the last band row available.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the OwnerBand property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.