Skip to main content

StandaloneGallery.DragItemStart Event

Fires when a drag-and-drop operation starts on a gallery item. Allows you to cancel the operation.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Events")]
public event GalleryDragItemStartEventHandler DragItemStart

Event Data

The DragItemStart event's data class is DevExpress.XtraBars.Ribbon.Gallery.GalleryDragItemStartEventArgs.

Remarks

The StandaloneGallery provides you with events that allow you to manage a drag-and-drop operation during all of its stages: the operation on an item is started, the item is being dragged, and the item has been dropped. The events below correspond to each stage of a drag-and-drop operation:

At all stages of the drag-and-drop operation, you can get access to the item being dragged using the Item event argument.

See Also