I have two controls in grid. I want to make a animation to move a control to the position of another control and with the same size of of another control. Here is part of code:
<Grid x:Name="OutGrid" Width="1280" Height="720" Background="Red">
<Image x:Name="Img_2" Width="480" Source="Images/0_0012_2.png" HorizontalAlignment="Right" />
<Image x:Name="Img_1" Width="240" Source="Images/0_0012_2.png" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left">
<Image.RenderTransform>
<TransformGroup>
<TranslateTransform />
<ScaleTransform />
</TransformGroup>
</Image.RenderTransform>
</Image>
</Grid>