How can I drag and drop controls using a common method?
问题 I have the following XAML code, which creates two stack panels within a big parent Stack Panel. I would like to be able to drag each small stack panel within the parent bigStack panel. XAML <StackPanel BorderThickness="1" BorderBrush="Black" x:Name="bigStack"> <StackPanel x:Name="smallStack1" ManipulationMode="All" ManipulationDelta="objectManipulationDelta" ManipulationStarting="objectManipulationStarting"> <TextBlock Text="John Doe"/> <TextBlock Text="CEO"/> </StackPanel> <StackPanel x:Name