IModelBandsLayout Interface

The BandsLayout node provides access to a List View's bands layout.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

[ModelVirtualTree]
[ModelVirtualTreeGetChildren(typeof(ModelVirtualTreeChildrenProvider))]
[ModelVirtualTreeParent(typeof(ModelVirtualTreeParentLogic))]
[ModelVirtualTreeDragDropItem(new Type[]{typeof(IModelBand), typeof(IModelBandedColumn)})]
[ModelVirtualTreeHideChildren(typeof(ModelBandsLayoutChildrenVisibilityCalculator))]
[ModelHideProperties(new string[]{"Id", "Index"})]
public interface IModelBandsLayout :
    IModelNode,
    IModelList<IModelBand>,
    IList<IModelBand>,
    ICollection<IModelBand>,
    IEnumerable<IModelBand>,
    IEnumerable
<ModelVirtualTree>
<ModelVirtualTreeGetChildren(GetType(ModelVirtualTreeChildrenProvider))>
<ModelVirtualTreeParent(GetType(ModelVirtualTreeParentLogic))>
<ModelVirtualTreeDragDropItem(New Type() {GetType(IModelBand), GetType(IModelBandedColumn)})>
<ModelVirtualTreeHideChildren(GetType(ModelBandsLayoutChildrenVisibilityCalculator))>
<ModelHideProperties(New String() {"Id", "Index"})>
Public Interface IModelBandsLayout
    Inherits IModelNode,
             IModelList(Of IModelBand),
             IList(Of IModelBand),
             ICollection(Of IModelBand),
             IEnumerable(Of IModelBand),
             IEnumerable

The child nodes of this node specify the bands layout:

Bands_DragToScheduleResult

To enable bands, set the IModelBandsLayout.Enable property to true. Refer to the How to: Configure Bands in a Grid List Editor (WinForms and ASP.NET) for details.

Bands_BandsLayout.Enable

This interface is a part of the Application Model infrastructure. You do not need to implement this interface in most cases.

The IModelBandsLayout node exposes a list of the IModelBand nodes.

See Also