Defines whether a semi-transparent image is used to represent the data being dragged.
Get
| C# | bool Boolean = object.DragImage; |
| VB.NET | Boolean = object.DragImage As Boolean |
| C++ | VARIANT_BOOL Boolean = object->DragImage; VARIANT_BOOL Boolean = object->GetDragImage(); |
| C | HRESULT object->get_DragImage(VARIANT_BOOL* Boolean); |
| VB | Boolean = object.DragImage As Boolean |
Put
| C# | bool object.DragImage = Boolean; |
| VB.NET | object.DragImage = Boolean As Boolean |
| C++ | VARIANT_BOOL object->DragImage = Boolean; void object->PutDragImage(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_DragImage(VARIANT_BOOL Boolean); |
| VB | object.DragImage = Boolean As Boolean |
object
Boolean
Defines whether a semi-transparent image is used to represent the data being dragged.
| Boolean | Description |
|---|---|
| True | A semi-transparent image is used to represent the data being dragged. |
| False | A simple cursor is used to represent the data being dragged. |
The DragImage property defines whether a semi-transparent image is used to represent the data being dragged.
The DragImage property applies to OLE drag & drop operations only. Note that not all applications used as targets of a drag & drop operation will render the semi-transparent image in their client area.
The DragImage property only affects OLE drag & drop operation initiated from the defining control. When the same control is used as a drop target, a semi-transparent image is always used if the drag source provides such an image.
See Also SftTree Object | Object Hierarchy