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