Initiates a drag and drop operation with a custom drop implementation.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static void DoDragDrop( Object dropData, IDropHandler handler )
Parameters
- dropData Object
- Any arbitrary data to be passed to the drop handler when the drop occurs.
- handler IDropHandler
- The handler to be executed when the drop occurs.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when dropData or handler is null. |