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