public static void SetPlacement(this Window window, string placementXml) { NativeWindowPlacement.SetPlacement(new WindowInteropHelper(window).Handle, placementXml); }
public static string GetPlacement(this Window window) { return(NativeWindowPlacement.GetPlacement(new WindowInteropHelper(window).Handle)); }