Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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