Vcl.ComCtrls.TCustomTreeView.DropTarget
Delphi
property DropTarget: TTreeNode read GetDropTarget write SetDropTarget;
C++
__property TTreeNode* DropTarget = {read=GetDropTarget, write=SetDropTarget};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTreeView |
Description
Specifies which item in the tree view appears as the target of a drag and drop operation.
Read DropTarget to determine whether a node in the tree view is drawn as the target of a drag and drop operation. Set DropTarget when specifying a particular node in the tree view as the drop target of a dragged item.
Note: When DropTarget is set, the application must still handle the actual logic of accepting the dragged object by the indicated node.