Skip to main content

WidgetView.EndStackGroupDragging Event

Occurs when an end-user drops a dragged StackGroup.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public event StackGroupDraggingEventHandler EndStackGroupDragging

Event Data

The EndStackGroupDragging 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 desire location where another stack group resides. At the start of the drag process, the WidgetView.BeginStackGroupDragging event fires. Immediately after the stack group is released, but before the two groups began swapping their positions, the 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