IStackGroupDefaultProperties.AllowDragging Property

Gets or sets whether an end-user can drag this StackGroup at runtime.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v20.2.dll


DefaultBoolean AllowDragging { get; set; }
Property AllowDragging As DefaultBoolean

Property Value

Type Description

A DefaultBoolean enumerator value that specifies whether an end-user can drag this StackGroup at runtime.


The AllowDragging property specifies whether this stack group can be dragged at runtime and overrides the identical IStackGroupProperties.AllowDragging property that affects all stack groups within this WidgetView. If the AllowDragging property equals DefaultBoolean.Default, the group's drag behavior is specified according to the global view setting.

Stack groups are dragged by dragging their captions (the StackGroup.Caption property). Group dragging raises the WidgetView.BeginStackGroupDragging and WidgetView.EndStackGroupDragging events that allow you to identify the dragged group and its final location, and if needed, cancel the drag operation.

See Also