I have a Grid in a WPF application, which contains of 3 groupboxes and has grid-splitters between them.
I want to allow the user reordering of those 3 groupboxes as he wishes, so any mapping of the groupboxes to {left,center,right} positions is allowed.
In web-development world, I would use jQuery UI sortable to solve this.
Is there anything to solve this task for a Grid in WPF? Or any other container, that would provide the same functionality?
You can make 3 columns in your grid, and reorder the items by changing
Grid.Columnattached property. Your initial XAML will look like this:If you need to move the parts by drag-and-drop, you’ll need to implement it manually, at least I am not aware of any framework which allows this out of the box.