Please find the sample project here
The sample application is divided into two parts:
The bottom part is similar to the RadListBox drag-n-drop demo with 4 elements:
The Drag-n-Drop behaviour is as expected, I can drag n drop between 1&2, but not to 3 or 4, it worked very well.
The top part is the identical setup, except it is contained within a RadTileView, and there are a few unexpected behaviours:
So how do I fix these two issues?
The sample application is divided into two parts:
The bottom part is similar to the RadListBox drag-n-drop demo with 4 elements:
- RadListBox bound to ObservableCollection<Country> CountryList
- RadListBox bound to ObservableCollection<Country> GroupA
- RadListBox bound to ObservableCollection<City> GroupD
- WPF ListBox bound to ObservableCollection<Country> GroupA, AllowDrop unset
The Drag-n-Drop behaviour is as expected, I can drag n drop between 1&2, but not to 3 or 4, it worked very well.
The top part is the identical setup, except it is contained within a RadTileView, and there are a few unexpected behaviours:
- Cursor no longer change to Cursors.No when drag over list 3 & 4
- When dropped on list 3, nothing happens, this is good. But when dropped on list 4 or anywhere on the tileview that's not a RadListBox, the item is removed from the drag source, and not added to anywhere.
So how do I fix these two issues?