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