Closed Fanom2813 closed 2 years ago
If ShellViewModel is the startup view model you do something like this to Maximize the form.
protected override void OnViewLoaded(object view)
{
base.OnViewLoaded(view);
Application.Current.MainWindow.WindowState = WindowState.Maximized;
}
worked !
Hi, i'm trying to maximize my Caliburn.Micro Window but it is not working , how can i set WindowState without showWindow again in ShaellViewModel
thank you