This project is read-only.

MainWindow Resize?

Jun 26, 2013 at 7:11 AM
Sorry if this is a terrible question, but how do I re-size the main window after start-up?
Jun 26, 2013 at 10:07 AM
Use the grip in the lower right corner, because ResizeMode="CanResizeWithGrip" is the default. To resize programmatically just set Width and Height of the MainWindow.
Jun 26, 2013 at 6:32 PM
What is the default name of MainWindow?
Jun 27, 2013 at 8:39 AM
Edited Jun 27, 2013 at 8:41 AM
Look at your code, x:Name="..." But you don't need a name, there is a reference in App.Current.MainWindow or in thecode behind just this.