Click here to Skip to main content
15,881,797 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi ,

I am new in XAML for WPF and I want to design a UI with an specific feature:
I have a UI created with Modern UI library. I have used Grid layout to define regions in my UI.The number of controls that appears on one of these regions ( columns, rows ) could be variable.

Could be 2 or could be 8 .
I want that my app handle these dynamic situations in a responsive way and resize the size of each control. I google it but I only could find cases where resize the window size or resize the controls but at runtime ( ( which is not what I am looking for).

Could you suggest me some example or the correct terminology to search it ???
Posted
Updated 31-Aug-14 21:49pm
v2

1 solution

Not sure if I understand your question. But if you are looking for automatic resizing of UI element you might want to look at the Viewbox class.

http://msdn.microsoft.com/en-us/library/system.windows.controls.viewbox(v=vs.110).aspx[^]

Hope this helps.
 
Share this answer
 
Comments
Kinna-10626331 3-Sep-14 3:50am    
Yes, it helps to do it and to find more info about other options , thanks Vincent :)

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