Scroll Given Tile into View

2 posts, 0 answers
  1. Jason
    Jason avatar
    15 posts
    Member since:
    Jul 2010

    Posted 09 Aug 2011 Link to this post

    I have a tileview bound to a collection of custom objects.  I would like to make sure that the tileview scrolls to a given item based on a property of the underlying object.  Can you point me in the right direction?
  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 12 Aug 2011 Link to this post

    Hello Jason,

    I will post the solution I attached to your support thread here should anyone else encounter the same issue:

    The RadTileView control exposes a BringIntoView() method that takes as a object as an argument. This means that you can either pass a data item from the RadTileView.ItemsSource collection to bring into view or to pass the RadTileViewItem object.

    I attached a sample project demonstrating how to add new business items to the ItemsSource collection of a RadTileView and how to bring the newly added item into view.

    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top