When adding a 2nd-level child to one of the list items, the lowest-level item cannot be moved to another 1st-level child. This causes an error of index out of range for the parent item to which the item is being moved.
- To replicate, add a 2nd-level child to one of the DragDropItems.
- Run the application.
- Try to move the 2nd-level child to another 1st-level child.
- The program will crash with an error.
When adding a 2nd-level child to one of the list items, the lowest-level item cannot be moved to another 1st-level child. This causes an error of index out of range for the parent item to which the item is being moved.