Window Extension methods
To get the extension methods, first add using WinUIEx;
to the top of your code.
Minimize/Maximize/Restore and Hide window.
myWindow.Minimize(); myWindow.Maximize(); myWindow.Restore(); myWindow.Hide();
Move and resize window
myWindow.CenterOnScreen(); myWindow.SetWindowSize(1024, 768); myWindow.MoveAndResize(100, 100, 1024, 768);
Make Window always-on-top
myWindow.SetIsAlwaysOnTop(true);
Bring window to the top
myWindow.BringToFront();