run wpf application Maximized 1

run wpf application Maximized

WindowStartupLocation="CenterScreen" WindowState="Maximized"

Here is what the above code is Doing:
1. We are creating a new window object.
2. We are setting the title of the window to “Hello World”.
3. We are setting the height and width of the window to 500 and 300 respectively.
4. We are setting the window to open in the center of the screen.
5. We are setting the window to open in maximized mode.

Similar Posts