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

BandedGridColumn.OwnerBand Property

Gets or sets a column’s parent band.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[Browsable(false)]
public virtual GridBand OwnerBand { get; set; }

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.

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.

See Also