public static string GetPlacement(this Window window) { return(WindowPlacement.GetPlacement(new WindowInteropHelper(window).Handle)); }