Click here to Skip to main content
15,867,771 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HI ,
I am developing a windows phone application, i have done with it, but when it is used in another windows mobile the controls present are in fixed length of my developing mobile ,
Hence i need to know how to make a control place automatically to its device width or height.

Any kind of help are code will be Appreciated.
Thanks in advance
Posted

1 solution

Use * to fit all available space.
Height="*"
Or "Auto"
Or "0.8*" to set 80% etc
(0.8 and star)
 
Share this answer
 
v2

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