Click here to Skip to main content
15,921,210 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I am developing an client/sever application using wpf Usercontrol, in which when i run the client application on different screen resolution, then the controls(i.e. the size) added in the page changes. So i want to make the size of controls unchangable.Can anyone help me out.
Posted
Updated 9-Sep-12 19:26pm
v3
Comments
[no name] 31-Aug-12 7:35am    
Okay so make your UI not resizable.

1 solution

In your xaml page put this line of code:
XML
ResizeMode="NoResize"


Even you can use a DockPanel to adjust all controls to the size of main window.

Hope it helps.
 
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