Performs drag and drop while displaying a provided image that is moved with the cursor.
Namespace: Spotfire.Dxp.Forms.ComponentsAssembly: Spotfire.Dxp.Forms (in Spotfire.Dxp.Forms.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax
Parameters
- sourceControl
- Type: System.Windows.Forms Control
The control that initiates the drag operation.
- dataObject
- Type: System.Windows.Forms IDataObject
The data to drag.
- allowedEffects
- Type: System.Windows.Forms DragDropEffects
One of the DragDropEffectsvalues.
- image
- Type: System.Drawing Image
Image to show while dragging.
- hotSpot
- Type: System.Drawing Point
The coordinate of the hot spot in image coordinates. This is the point where the cursor will be. This point does not need to be within the image. For instance, if both X and Y are negative, the image will be displayed below and to the right of the cursor.
- opacity
- Type: System Single
Overall opacity to use for the image. Valid values are in the range [0, 1.0], where 1.0 means totally opaque.
Return Value
Type: DragDropEffectsA DragDropEffects value that represents the final result.
Version Information
See Also