How to make transparent rectangle in the middle of Image Control?

SmilingMoon 981 Reputation points
2020-12-02T06:56:58.5+00:00

I have regular image control showing a image.
<Image x:Name="imgWithHole" Source="/Assets/Images/landscape.png" width="1000" height="1000"></Image>

I need to make hole in rectangle: this area become transparent and user can see the background through the hole.

How can I make it happen easily?

Universal Windows Platform (UWP)
{count} votes