Scroll to position

3 posts, 0 answers
  1. Nisse
    Nisse avatar
    3 posts
    Member since:
    Jan 2011

    Posted 20 Jan 2011 Link to this post

    Is is possible to programatically scroll to a specific col/row or value?

    rgds
    Rickard
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 20 Jan 2011 Link to this post

    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>>
  3. DevCraft banner
  4. Nisse
    Nisse avatar
    3 posts
    Member since:
    Jan 2011

    Posted 20 Jan 2011 Link to this post

    Thanx for the answer. Just as I figured. It lies at the scrollviewer level. =)

    rgds
    Rickard
Back to Top