HeaderPane
Main
Hide
Share Link
Print

OLEDropMode Property, SftTree Object

Defines whether the tree control can act as an OLE drop target.

Syntax

Get

C#SftTreeOLEDropModeConstants Style = object.OLEDropMode;
VB.NETStyle = object.OLEDropMode As SftTreeOLEDropModeConstants
C++enum SftTreeOLEDropModeConstants Style = object->OLEDropMode;
enum SftTreeOLEDropModeConstants Style = object->GetOLEDropMode();
CHRESULT object->get_OLEDropMode(enum SftTreeOLEDropModeConstants* Style);
VBStyle = object.OLEDropMode As SftTreeOLEDropModeConstants

Put

C#SftTreeOLEDropModeConstants object.OLEDropMode = Style;
VB.NETobject.OLEDropMode = Style As SftTreeOLEDropModeConstants
C++enum SftTreeOLEDropModeConstants object->OLEDropMode = Style;
void object->PutOLEDropMode(enum SftTreeOLEDropModeConstants Style);
CHRESULT object->put_OLEDropMode(enum SftTreeOLEDropModeConstants Style);
VBobject.OLEDropMode = Style As SftTreeOLEDropModeConstants

object

A SftTree object.

Style

Defines whether the tree control can act as an OLE drop target.

StyleValueDescription
OLEDropSftTreeNone0The tree control is not a valid drop target.
OLEDropSftTreeManual1The tree control is a valid drop target and triggers the OLE drop events, allowing the application to handle the OLE drop operation.

Comments

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


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.