Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

bool AllowDragging { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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