Skip to main content

DragDropManager Members

Represents the Drag-and-Drop Behavior manager.

Properties

Name Description
Default static Provides access to the default Drag-and-Drop Behavior manager.
InsertIndicatorVisible Gets or sets whether to indicate where dragged data elemets will be inserted.
PreviewShowMode Gets or sets whether a preview of dragged data elements is displayed near the mouse pointer during drag-and-drop operations.

Methods

Name Description
CancelDragDrop() Cancels the currently performed drag-and-drop operation. For internal use.
DoDragDrop(DoDragDropEventArgs) Initiates a drag-and-drop operation. For internal use.
DoDragDrop(Object, Object, Image, DragDropActions) Initiates a drag-and-drop operation. For internal use.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterBehavior(IDragDropBehavior) Registers the specified Drag-and-Drop Behavior. For internal use.
ToString() Returns a string that represents the current object. Inherited from Object.
UnregisterBehavior(IDragDropBehavior) Unregisters the specified Drag-and-Drop Behavior. For internal use.

Events

Name Description
BeginDragDrop Occurs when a drag-and-drop operation is initiated.
DragDrop Occurs when a data element is dropped on the control.
DragEnter Occurs when a data element is dragged into the control’s bounds.
DragLeave Occurs when a data element is dragged out of the control’s bounds.
DragOver Occurs when a data element is dragged over the control’s bounds.
EndDragDrop Occurs when a drag-and-drop operation is completed.
QueryDragPreviewImage Allows you to provide a preview of the dragged data elements.
See Also