Defines whether the tree control can act as an OLE drop target.
Get
| C# | SftTreeOLEDropModeConstants Style = object.OLEDropMode; |
| VB.NET | Style = object.OLEDropMode As SftTreeOLEDropModeConstants |
| C++ | enum SftTreeOLEDropModeConstants Style = object->OLEDropMode; enum SftTreeOLEDropModeConstants Style = object->GetOLEDropMode(); |
| C | HRESULT object->get_OLEDropMode(enum SftTreeOLEDropModeConstants* Style); |
| VB | Style = object.OLEDropMode As SftTreeOLEDropModeConstants |
Put
| C# | SftTreeOLEDropModeConstants object.OLEDropMode = Style; |
| VB.NET | object.OLEDropMode = Style As SftTreeOLEDropModeConstants |
| C++ | enum SftTreeOLEDropModeConstants object->OLEDropMode = Style; void object->PutOLEDropMode(enum SftTreeOLEDropModeConstants Style); |
| C | HRESULT object->put_OLEDropMode(enum SftTreeOLEDropModeConstants Style); |
| VB | object.OLEDropMode = Style As SftTreeOLEDropModeConstants |
object
Style
Defines whether the tree control can act as an OLE drop target.
| Style | Value | Description |
|---|---|---|
| OLEDropSftTreeNone | 0 | The tree control is not a valid drop target. |
| OLEDropSftTreeManual | 1 | The tree control is a valid drop target and triggers the OLE drop events, allowing the application to handle the OLE drop operation. |
The OLEDropMode property defines whether the tree control can act as an OLE drop target.
The events OLEDragOver and OLEDragDrop occur when an item is dragged over the tree control or when an item is dropped.
See Also SftTree Object | Object Hierarchy