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

[Solved] how to get extent grid view height

2 Answers 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.
ss
Top achievements
Rank 1
ss asked on 04 Oct 2010, 08:05 AM
Hello,
 
I need to get the size of the area which is shown in attached image:

Can you please help me.

Thank you.

2 Answers, 1 is accepted

Sort by
0
Accepted
Tsvyatko
Telerik team
answered on 04 Oct 2010, 08:37 AM
Hello ss,

you can get this height using the following code:
GridView.ChildrenOfType<ScrollContentPresenter>().First().ActualHeight;

Let me know if this works for you.

Greetings,
Tsvyatko
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
0
ss
Top achievements
Rank 1
answered on 04 Oct 2010, 10:06 AM
It works. Thank you very much.
Tags
GridView
Asked by
ss
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
ss
Top achievements
Rank 1
Share this question
or