How to set min size of windows universal app on desktop?
问题 I would like to set min size like 800x600 for my windows universal app which on desktop. I found a method ApplicationView.GetForCurrentView().SetPreferredMinSize(new Size(800, 600)); but it doesn't work, I still can drag the window to 500x300. What I miss ? 回答1: I found a solution https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.applicationview.tryresizeview for desktop, I can set a min size which is bigger than 500x500 as below code. private void Page