Skip to main content
A newer version of this page is available. .

IStackGroupProperties.AllowDragging Property

Gets or sets whether any StackGroup within this WidgetView can be dragged at runtime.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v19.1.dll


bool AllowDragging { get; set; }

Property Value

Type Description

true, if any StackGroups within this WidgetView can be dragged at runtime; otherwise, false.


The AllowDragging property value affects all StackGroups whose IStackGroupDefaultProperties.AllowDragging property equals DefaultBoolean.Default. Otherwise, the IStackGroupDefaultProperties.AllowDragging has a higher priority and overrides the global AllowDragging property 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