To create a non-rectangular window, you need to do three things first.
- Set Window.WindowStyle to WindowStyle.None
- Set Window.AllowsTransparency to True
- Set the .Background window to transparent (or {x: Null})
Now your window is completely transparent. You can use other tips in this thread to draw a piece of media in the geometry of the window.
source
share