Vcl.ComCtrls.TTreeNode.DropTarget
Delphi
property DropTarget: Boolean read GetDropTarget write SetDropTarget;
C++
__property bool DropTarget = {read=GetDropTarget, write=SetDropTarget, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTreeNode |
Description
Indicates whether the tree node is drawn as a drag and drop target.
Use DropTarget to indicate that the node is a drag and drop target. When DropTarget is true, the node is drawn in a style used to indicate a drag and drop target.
Note: Setting DropTarget to true does cause the node to automatically accept dragged objects when they are released. The application must still implement the drop behavior.