0

我正在使用列表框使用代码绑定图像列表:

       <ListBox Name="lstBoxImages"  Height="645" VerticalAlignment="Top" Width="480">
            <ListBox.ItemsPanel>
                <ItemsPanelTemplate>
                    <toolkit:WrapPanel Height="Auto" Width="480" ItemHeight="120" ItemWidth="120"></toolkit:WrapPanel>
                </ItemsPanelTemplate>
            </ListBox.ItemsPanel>
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <Border Width="120"  BorderThickness="2">
                        <StackPanel Orientation="Vertical" Width="110" >
                            <Image  Height="110" Width="110" Source="{Binding imageName}" Stretch="Uniform"/>
                        </StackPanel>
                    </Border>

                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>

现在我想拖动图像并移动图像的位置。谁能帮我解决这个问题?一个例子将是可观的。谢谢!!

4