DataObjectEventArgs.IsDragDrop Property

Definition

Gets a value indicating whether the associated event is part of a drag-and-drop operation.

public:
 property bool IsDragDrop { bool get(); };
public bool IsDragDrop { get; }
member this.IsDragDrop : bool
Public ReadOnly Property IsDragDrop As Boolean

Property Value

true if the associated event is part of a drag-and-drop operation; otherwise, false.

Remarks

If this property is true, the Copying event is raised when dragging is initiated and the Pasting event is raised when the selection is dropped.

Applies to