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

DragDropManager.DoDragDrop(Object, Object, Image, DragDropActions) Method

Initiates a drag-and-drop operation. For internal use.

Namespace: DevExpress.Utils.DragDrop

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public void DoDragDrop(
    object source,
    object data,
    Image preview = null,
    DragDropActions action = DragDropActions.All
)

#Parameters

Name Type Description
source Object

A source control.

data Object

Dragged data elements.

#Optional Parameters

Name Type Default Description
preview Image null

A preview of the dragged data elements.

action DragDropActions All

The initial drag-and-drop effect.

See Also