Back to Devexpress

GridControlBand Class

wpf-devexpress-dot-xpf-dot-grid-dfb8595a.md

latest3.1 KB
Original Source

GridControlBand Class

The grid band.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public class GridControlBand :
    BandBase,
    IDetailElement<BaseColumn>
vb
Public Class GridControlBand
    Inherits BandBase
    Implements IDetailElement(Of BaseColumn)

Remarks

Grid bands allow you to create a multi-row data cell layout.

Run Demo: Banded View View Example: Create a Banded View

Bands are stored within the grid’s GridControl.Bands collection or within a band’s GridControlBand.Bands collection.

Refer to the following help topic for more information: Bands.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GridControlBand class.

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.

wpf-data-grid-create-filter-ui/CS/WpfApplication27/MainWindow.xaml#L42

xml
<dxg:GridControl.Bands>
    <dxg:GridControlBand Header="Order" OverlayHeaderByChildren="True">
        <dxg:GridColumn FieldName="City" />

Inheritance

Object DispatcherObject DependencyObject ContentElement FrameworkContentElement DXFrameworkContentElement BaseColumn BandBase GridControlBand

See Also

GridControlBand Members

Bands Panel

Bands

DevExpress.Xpf.Grid Namespace