Skip to main content

WidgetView.BeginStackGroupDragging Event

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

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v23.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