I want to get the background of spesific area of ContentControl.
Here is my ContentControl ;
The area I would like to have is (topright of the ContentControl) ;
How can I do that?
I want to get the background of spesific area of ContentControl.
Here is my ContentControl ;
The area I would like to have is (topright of the ContentControl) ;
How can I do that?
Put your content control into another content control and set the horizontal and vertical position to topright. In the following example I use an image in a grid.
<Grid>
<Image
x:Name="MyImage"
Height="22"
HorizontalAlignment="Right"
Margin="10"
VerticalAlignment="Top"
Width="22" />
</Grid>