Version: 5.6

TreeView.SetupDragAndDrop

매뉴얼로 전환
protected void SetupDragAndDrop (IMGUI.Controls.TreeView.SetupDragAndDropArgs args);

설명

This function is called when CanStartDrag returns true.

Override this function to set the global DragAndDrop state and set which items can be dragged and dropped. Use FindRows to convert the dragged IDs to TreeViewItems if needed.

You control TreeView drag and drop in the following order:
1) override CanStartDrag to enable dragging TreeViewItems.
2) override SetupDragAndDrop to set which TreeViewItems are dragged.
3) override HandleDragAndDrop to control the drag and drop behavior of the TreeView.


See Also: DragAndDrop.