This question is locked. New answers and comments are not allowed.
Hi,
I have viewmodels for treenodes that expose only ReadOnlyObservableCollection for Children nodes.
The viewmodels have InsertChild and RemoveChild methods with some custom logic.
I would like to call these methods, but the DragEnded event is never fired because of unhandled NotSupportedException: Collection is read-only.
I need to add custom logic to every change in collection, not only changes made by RadTreeview.
How to do this? :)
[EDIT]
ok, PreviewDragEnded seems to be the solution :)
I have viewmodels for treenodes that expose only ReadOnlyObservableCollection for Children nodes.
The viewmodels have InsertChild and RemoveChild methods with some custom logic.
I would like to call these methods, but the DragEnded event is never fired because of unhandled NotSupportedException: Collection is read-only.
I need to add custom logic to every change in collection, not only changes made by RadTreeview.
How to do this? :)
[EDIT]
ok, PreviewDragEnded seems to be the solution :)