Пример #1
0
 public static string GetPlacement(this Window window)
 {
     return(WindowPlacement.GetPlacement(new WindowInteropHelper(window).Handle));
 }
Пример #2
0
 public static void SetPlacement(this Window window, string placementXml)
 {
     WindowPlacement.SetPlacement(new WindowInteropHelper(window).Handle, placementXml);
 }