BandedGridColumn.OwnerBand Property

Gets or sets a column's parent band.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[Browsable(false)]
public virtual GridBand OwnerBand { get; set; }
<Browsable(False)>
Public Overridable Property OwnerBand As GridBand

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.

See Also