Hello,
I am using version 2010.3.1314.35. I have a TreeView that binds to an ObservableCollection<>, and I am allowing dragging and dropping to move items around. Everything works great and gets updated nicely (I am implementing INotifyPropertyChanged on my objects), except for the following:
When a user selects multiple items in the TreeView and attempts to drop them in between the same selected items. The result is that the items completely disappear from view. I have attached a screen capture to show what I am referring to.
I was hoping that there is an easy way to handle this, but maybe I have to add some custom logic to my RadDragAndDropManager.DropQueryEvent (or perhaps my PreviewDragEnded event) to prevent such an occurrence? I'm trying to avoid having to check if the selected items are surrounding the target destination (which I assume is what is causing the disappearance).
Any help or direction on this would be greatly appreciated!
Cheers,
Mark
I am using version 2010.3.1314.35. I have a TreeView that binds to an ObservableCollection<>, and I am allowing dragging and dropping to move items around. Everything works great and gets updated nicely (I am implementing INotifyPropertyChanged on my objects), except for the following:
When a user selects multiple items in the TreeView and attempts to drop them in between the same selected items. The result is that the items completely disappear from view. I have attached a screen capture to show what I am referring to.
I was hoping that there is an easy way to handle this, but maybe I have to add some custom logic to my RadDragAndDropManager.DropQueryEvent (or perhaps my PreviewDragEnded event) to prevent such an occurrence? I'm trying to avoid having to check if the selected items are surrounding the target destination (which I assume is what is causing the disappearance).
Any help or direction on this would be greatly appreciated!
Cheers,
Mark