IModelBandsLayout Interface

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

[ModelVirtualTreeGetChildren(typeof (ModelVirtualTreeChildrenProvider))]
[ModelVirtualTreeDragDropItem(new Type[]{typeof (IModelBand), typeof (IModelBandedColumn)})]
[ModelVirtualTreeParent(typeof (ModelVirtualTreeParentLogic))]
[ModelVirtualTreeHideChildren(typeof (ModelBandsLayoutChildrenVisibilityCalculator))]
[ModelVirtualTree]
[ModelHideProperties(new string[]{"Id", "Index"})]
public interface IModelBandsLayout :
    IModelNode,
    IModelList<IModelBand>,
    IList<IModelBand>,
    ICollection<IModelBand>,
    IEnumerable<IModelBand>,
    IEnumerable
<ModelVirtualTreeGetChildren(GetType(ModelVirtualTreeChildrenProvider))>
<ModelVirtualTreeDragDropItem(New Type() {GetType(IModelBand), GetType(IModelBandedColumn)})>
<ModelVirtualTreeParent(GetType(ModelVirtualTreeParentLogic))>
<ModelVirtualTreeHideChildren(GetType(ModelBandsLayoutChildrenVisibilityCalculator))>
<ModelVirtualTree>
<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 and is not intended to be implemented by your classes. To learn more, refer to the Application Model Structure topic.

The IModelBandsLayout node exposes a list of the IModelBand nodes.

See Also