IModelBand Interface

The Band node defines a logical group (band) of columns. A band is visually represented by a header displayed above headers of the columns it combines.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

[ModelHideLinks]
[ModelVirtualTreeParent(typeof (ModelVirtualTreeParentLogic))]
[ImageName("ModelEditor_Band")]
[ModelVirtualTreeGetChildren(typeof (ModelVirtualTreeChildrenProvider))]
[ModelVirtualTree]
[ModelVirtualTreeAddItem(typeof (IModelBandsLayout), new Type[]{typeof (IModelBand)})]
[ModelVirtualTreeDragDropItem(new Type[]{typeof (IModelBand), typeof (IModelBandedColumn)})]
public interface IModelBand :
    IModelBandedLayoutItem,
    IModelLayoutElement,
    IModelNode
<ModelHideLinks>
<ModelVirtualTreeParent(GetType(ModelVirtualTreeParentLogic))>
<ImageName("ModelEditor_Band")>
<ModelVirtualTreeGetChildren(GetType(ModelVirtualTreeChildrenProvider))>
<ModelVirtualTree>
<ModelVirtualTreeAddItem(GetType(IModelBandsLayout), New Type() {GetType(IModelBand)})>
<ModelVirtualTreeDragDropItem(New Type() {GetType(IModelBand), GetType(IModelBandedColumn)})>
Public Interface IModelBand
    Inherits IModelBandedLayoutItem,
             IModelLayoutElement,
             IModelNode
Important

You cannot add the IModelBand node in the Model Editor unless you set the IModelBandsLayout.Enable property of the ListView | BandsLayout node to true.

To create an IModelBand node, right-click the Column node and choose Add... | Band. You can also add a child band into an existing band to create a band hierarchy.

Bands_AddBand

To add columns into a band, select one or more Column nodes and drag them into the band:

Bands_DragToTaskDetails

In WinForms applications, the IModelBand node is extended with properties from IModelBandWin.

This interface is a part of the Application Model infrastructure and is not intended to be implemented by your classes. To learn more, refer to the Application Model Structure topic.

See Also