Click here to Skip to main content
15,912,977 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Is there the control which can compatible resolution when use silverlight ?

For example:

Is there the control which can compatible resolution in "telerik" ?

As you know , compatible with screen resolution is a difficult problem .
How to do it???
Posted
Comments
[no name] 6-Jul-12 9:55am    
Nothing you wrote makes any sense at all.
Christian Amado 20-Jul-12 10:40am    
I don't understand your question but, I'll assume that you want something like this...

1 solution

Put your controls inside a Grid element. Then use RowsDefinitions and ColumnDefinitions with Height and/or Width sets to Auto and *.

Example:
XML
<Grid>
       <Grid.RowDefinitions>
             <RowDefinition Height="Auto" />
             <RowDefinition Height="Auto" />
             <RowDefinition Height="*" />
       </Grid.RowDefinitions>
       <Grid.ColumnDefinitions>
             <ColumnDefinition Width="*" />
             <ColumnDefinition Width="Auto" />  
       </Grid.ColumnDefinitions>

I recommend use of Auto for all controls except the bigger (a GridView, for example) that must use * for complete screen resolution.

Hope its helps.
 
Share this answer
 
Comments
starrycheng 26-Jul-12 4:34am    
Thanks a lot... Let me have a try...
Christian Amado 26-Jul-12 6:59am    
Nice to help you =)

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