Reputation: 21
I have created desktop application in screen resolution of 1280 X 1024 by setting page.xaml width and height of 1272 and 893 respectively.
but after creating set up file when i run in another system which has less resolution some buttons are not visible.
Please guide me how to develop windows application in wpf that works on all screen resolution with proper alignment.
Upvotes: 0
Views: 236
Reputation: 1723
There's an article on MSDN about developing DPI independent WPF applications.
And as stated above, the whole point of using WPF is not to hardcode any dimensions, but to lay out elements using containers. Doing so will lead to resolution independent application.
Upvotes: 1
Reputation: 7
Use relative size instead of absolute , Do not hardcode values for height and width of any control
Upvotes: 1