How can i find the location of the ‘SomeRectangle’ ?
This Rectangle is the location and the size that i need to crop from the ‘somepicture’ that is actually the picture that appear in the background of the main grid.
<Rectangle x:Name="SomeRectangle" Height="50" Width="50" Stroke="Red" HorizontalAlignment="Center" VerticalAlignment="Center" MinWidth="5" MinHeight="5" />
Source: Silverlight Forum