Skip to main content

TreeListView.AllowBandMoving Property

Gets or sets whether an end-user is allowed to rearrange bands. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

#Declaration

[XtraSerializableProperty]
public bool AllowBandMoving { get; set; }

#Property Value

Type Description
Boolean

true, to allow rearranging bands; otherwise, false.

#Remarks

End-users are allowed to rearrange bands if the view's AllowBandMoving property is set to true. Individual bands provide the BaseColumn.AllowMoving property, allowing the default behavior specified by the view to be overridden. Setting this property to 'True' or 'False' overrides the default behavior. This can be useful when it is required to prevent an end-user from resizing individual columns.

If the band's BaseColumn.AllowMoving property is set to 'Default', the ability to resize columns is controlled by the view's AllowBandMoving property. In this instance, to determine whether an end-user can resize a column, use the BaseColumn.ActualAllowMoving property.

#Implements

DevExpress.Xpf.Grid.ITableView.AllowBandMoving
See Also