locked
Scrolling a GridView to a Selected item RRS feed

  • General discussion

  • Hi,

    I have a GridView and I'm making a selection change with Next or Previous Button, I want GridView Scroll to happen accordingly. 

    Any event which can perform such functionality?

    Siva


    Sivakumar

    Monday, September 16, 2013 4:45 PM

All replies

  • Take a look at the ScrollIntoView method.
    Tuesday, September 17, 2013 1:15 AM
    Moderator
  • Hi Rob,

    Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => gvPlaylist.ScrollIntoView(gvPlaylist.SelectedItem));

    inside GridViewSelectionChanged event 

    helped me.

    Thankyou


    Sivakumar

    Sunday, September 22, 2013 12:11 PM