I have to develop an .NET app using C# that runs on all screen size(8″, 10, 14, 22, etc). So whatever is the screen size, the app should work & dispaly properly.
How should I start up with this ? With this in mind I believe using WPF would be the best rather than WinForms (Pls correct if I am wrong). I can give weight to each component & text size and handle that but what about the actual window size. That height & width I can’t define a number (like 300*250) or so. Window size shoula also be based on the screen size.
Can anyone help me know how do I work out with this. WPF or WinFroms ?
Use relative size/location instead of absolute (example -> Use Grid.RowDefinition = */Auto, instead of fixed size, Use stackpanel, use dock panel)
Automatic layout overview
Resolution independent or monitor size independent WPF apps
Same question on MSDN with links in answer
Metro Apps are supposed to run on different form factors. You can look at Guidelines for the different form factors on metro UI. It will help in understanding the challenges, and how to plan/resolve these challenges.