Exemplo n.º 1
0
 public static WINDOWPLACEMENT GetPlacement(this Window window)
 {
     return(WindowPlacement.GetPlacement(new WindowInteropHelper(window).Handle));
 }
Exemplo n.º 2
0
 public static void SetPlacement(this Window window, WINDOWPLACEMENT placement)
 {
     WindowPlacement.SetPlacement(new WindowInteropHelper(window).Handle, placement);
 }