This is a migrated thread and some comments may be shown as answers.

[Solved] Looking for best way to resize grid

1 Answer 65 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ryan
Top achievements
Rank 2
Ryan asked on 14 Oct 2010, 04:47 PM
The grid is in a user control/stackpanel that is inside a content frame (circa SL LOB).  The current situation is that the grid will go off the bottom of the screen and not show scrollbars.

If I set MaxHeight,  I need to account for resize and setting the dependancy property in code escapes me. 
Is ther a better way that will contain the grid only to the visible screen and give me the scrollbars on the grid?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Oct 2010, 07:04 AM
Hello,

 Generally the grid will be resized automatically if you use Grid instead StackPanel (no need any additional code) plus StackPanel will measure the grid with infinity and you may get serious performance problems 

Sincerely yours,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Ryan
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Share this question
or