Last Updated: 03 Jan 2017 20:28 by ADMIN
Tina Stancheva
Created on: 25 May 2011 11:03
Category: TreeView
Type: Feature Request
TreeView: Expose IsDropAllowed properties based on the drop position
Expose IsDropBeforeAllowed, IsDropAfterAllowed and IsDropInsideAllowed properties in order to facilitate the implementation of complicated drag/drop scenarios in MVVM scenarios.

Update: The suggested approach would be to use an attached behavior for DragDropManager.DragOverEvent in order to change the default TreeView behavior.
DropAction property of a TreeViewDragDropOptions instance could be used to customize the drop operation.
Also, the DropPosition property of the TreeViewDragDropOptions instance could be used to check current drop case.
An instace of TreeViewDragDropOptions could be retreived from DragOverEvent event arguments.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)