Reputation: 1
I'm attempting to make a application where you can drag ScatterViewItems next to each other, and the items will dock together, so that you can move them around as a single item.
Right now I'm trying to create a StackPanel
and add the content of the two ScatterViewItems being docked to it, but am not sure how to convert the SVI's content property to a UIElement
in any meaningful way. Has anyone tried to do something similar, or have any ideas on how to get it to work?
Upvotes: 0
Views: 345
Reputation: 29073
Look at the ScatterPuzzle example in the Surface SDK. It shows precisely how to accomplish this scenario of snapping items together
Upvotes: 0