Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to full screen WPF forms without affecting layouts? I want my layout (buttons, images included) to be flexible to any screen size.

I'm using vb.net. Using expression blend.

Thank you in advance.
Posted

Hi,

In WPF there is concept of relative width ('auto' and *) apart form fixed pixel width.
To make sure that your app reacts to the available screen space and adjust the inner control accordingly then first thing you must do is do not use fixed widths.

Before designing your app (in blend or in VS), you must be aware of the Measure and Arrange cycles of the WPF application. This will help you understand how WPF architecture actually layouts your controls (this is a very different concept then that of Paint in Winforms).

The link below could be a good place to start with:
http://msdn.microsoft.com/en-us/library/aa970268.aspx#Layout[^]


Thanks
-a
 
Share this answer
 
The only solution for this ..... use Auto instead of fixed width for layout
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900