1

Windows Phone で複数のオブジェクトを同時に移動する方法はありますか? (左右のインデックスを移動する場合、両方のアイテムを移動したい)

Windows Phone でドラッグ アンド ドロップを実装するための 2 つのソリューションを見つけました。ただし、同時に移動できるアイテムは 1 つだけです。

エクスプレッションブレンドあり

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
       <Image Margin="129,112,167,122" Source="mypicture.png" Stretch="Fill">
                <Custom:Interaction.Behaviors>
                    <il:MouseDragElementBehavior/>
                </Custom:Interaction.Behaviors>
       </Image>
</Grid>

Windows Phone ツールキットを使用

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
             <Rectangle x:Name="myRectangle" Width="200" Height="200" Fill="Blue">
                 <toolkit:GestureService.GestureListener>
                     <toolkit:GestureListener DragDelta="GestureListener_DragDelta"/> 
                 </toolkit:GestureService.GestureListener>
             </Rectangle>
 </Grid>
4

1 に答える 1