public static void ShowSystemMenu(Window window, Point screenLocation) { Verify.IsNotNull <Window>(window, "window"); SystemCommands.ShowSystemMenuPhysicalCoordinates(window, DpiHelper.LogicalPixelsToDevice(screenLocation)); }
public static void MinimizeWindow(Window window) { Verify.IsNotNull <Window>(window, "window"); SystemCommands._PostSystemCommand(window, SC.MINIMIZE); }
public static void RestoreWindow(Window window) { Verify.IsNotNull <Window>(window, "window"); SystemCommands._PostSystemCommand(window, SC.RESTORE); }
public static void CloseWindow(Window window) { Verify.IsNotNull <Window>(window, "window"); SystemCommands._PostSystemCommand(window, SC.CLOSE); }