Skip to main content
A newer version of this page is available. .

DragDropEvents Class

Provides access to a control’s Drag-and-Drop Behavior events.

Namespace: DevExpress.Utils.DragDrop

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public sealed class DragDropEvents :
    Component

The following members return DragDropEvents objects:

Remarks

The DragDropEvents component is automatically added to your form when you attach the Drag-and-Drop Behavior to a control in the designer. You can find the component’s name in the Behavior editor’s Properties section.

BehavoirManager_Designer

You can add event handlers in the designer or in code.

DragndropEvents

dragDropEvents1.DragDrop += dragDropEvents1_DragDrop;
dragDropEvents1.DragOver += dragDropEvents1_DragOver;

If you attach the Behavior in code, the DragDropEvents component is not added to the form. Use the DragDropBehavior events to customize drag-and-drop operations in this case.

Inheritance

See Also