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

Scroll to position

2 Answers 77 Views
UniformGrid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nisse
Top achievements
Rank 1
Nisse asked on 20 Jan 2011, 02:45 PM
Is is possible to programatically scroll to a specific col/row or value?

rgds
Rickard

2 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 20 Jan 2011, 05:35 PM
Hello Nisse,

The UniformGrid do not support scrolling. It is just a panel that layout your items.

Basically this is doable, but requires additional code in order to be done. First you need to insert the Panel into a ScrollViewer to enable scrolling. Then you can see the offset of the row you are interested by using the UIElement.TransformToVisual method. When you have the offset you can set the VerticalOffset property of the ScrollViewer to scroll to the item.

Please let us know if you need any help with that.

All the best,
Valentin.Stoychev
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Nisse
Top achievements
Rank 1
answered on 20 Jan 2011, 07:15 PM
Thanx for the answer. Just as I figured. It lies at the scrollviewer level. =)

rgds
Rickard
Tags
UniformGrid
Asked by
Nisse
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Nisse
Top achievements
Rank 1
Share this question
or