public static void SetMaximumWidthAndHeight(this Window window) { Argument.IsNotNull(() => window); window.SetMaximumWidth(); window.SetMaximumHeight(); }