window.SetRegion(
Region.CreateRectangle(window.GetBounds())
- Region(rectangle.GetBounds());
Can also be used to clip the outside of the window to a custom shape. #WinUI
window.SetRegion(
Region.CreateRectangle(window.GetBounds())
- Region(rectangle.GetBounds());
Can also be used to clip the outside of the window to a custom shape. #WinUI