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

WidgetView.BeginStackGroupDragging Event

Occurs immediately after an end-user moves a StackGroup within this WidgetView.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public event StackGroupDraggingEventHandler BeginStackGroupDragging

#Event Data

The BeginStackGroupDragging event's data class is DevExpress.XtraBars.Docking2010.Views.StackGroupDraggingEventArgs.

#Remarks

Stack groups within a WidgetView can be dragged at runtime if the IStackGroupProperties.AllowDragging property equals true. To drag a stack group, an end-user must click its header (the StackGroup.Caption property) and drag it to the desired location where another stack group resides. At the start of the drag process, the BeginStackGroupDragging event fires. Immediately after the stack group is released, but before the two groups begin swapping their positions, the WidgetView.EndStackGroupDragging event is raised. You can handle these events to get both the dragged group and the group that will swap its position with it via e.Group and e.TargetGroup properties respectively, and if required, cancel this particular drag operation by setting the e.Cancel property to true.

See Also