0

How can I change the default minimum window size for my application?

I think it can be here:

Windows.UI.ViewManagement.ApplicationView...
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
goodniko
  • 163
  • 3
  • 14
  • Possible duplicate of [Windows 10 UWP app - Setting window size on desktop](http://stackoverflow.com/questions/31885979/windows-10-uwp-app-setting-window-size-on-desktop) – Justin XL Oct 15 '15 at 20:08

1 Answers1

0
this.MinimumSize = new Size(300, 200);

Just that in the forms constructor... If it is a Windows Forms application of course.

I missed it was UAP. Just do what you said from that namespace:

SetPreferredMinSize(new Size(300, 200))
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
TheLethalCoder
  • 6,668
  • 6
  • 34
  • 69