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

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