原文: WPF 精修篇 移动TranslateTransform
移动 TranslateTransform
X 移动X轴
Y 移动Y轴
- <StackPanel Orientation= "Horizontal">
- <Grid>
- <Image Source= "Image/Dog.jpg" Width= "200" Height= "200" Opacity= "0.4">
- <Image.RenderTransform>
- <TranslateTransform></TranslateTransform>
- </Image.RenderTransform>
- </Image>
- <Image Source= "Image/Dog.jpg" Width= "200" Height= "200">
- <Image.RenderTransform>
- <TranslateTransform X= "200" Y= "100"></TranslateTransform>
- </Image.RenderTransform>
- </Image>
- </Grid>
- </StackPanel>
- </Grid>