日期:2014-05-17 浏览次数:21082 次
注:本文由BeyondVincent(破船)原创首发
转载请注明出处:BeyondVincent(破船)@DevDiv.com
今天看到坛子里有人问如何移动图片
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
    <Image Source="/Assets/1.jpg"
            ManipulationStarted="Image_ManipulationStarted_1"
            ManipulationDelta="Image_ManipulationDelta_1"
            ManipulationCompleted="Image_ManipulationCompleted_1" 
            ManipulationMode="All" 
            Margin="342,34,591,337">
        <Image.RenderTransform>
            <TranslateTransform x:Name="translateTransform"/>
        </Image.RenderTransform>
    </Image>
    <Image Source="/Assets/BeyondVincentWin8Logo.png" Height="100" Margin="568,658,0,10"
                    ManipulationStarted="Image_ManipulationStarted_1"
                    ManipulationDelta="Image_ManipulationDelta_1"
                    ManipulationCompleted="Image_ManipulationCompleted_1" 
                    ManipulationMode="All" >
                <Image.RenderTransform>
                    <Transl