I have a simple WPF application with two xaml pages. I would like to open the application with the maximum screen size. I only found answers about Windows WPF, but for Pages there is no WindowState property.
Thank you so much!
In the Xaml window definition, simply specify:
WindowStartupLocation="CenterScreen" WindowState="Maximized"
You can set the properties Widthand Heightmanually according to your current screen resolution here
Width
Height
System.Windows.SystemParameters.PrimaryScreenWidth; System.Windows.SystemParameters.PrimaryScreenHeight;