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

Scroll Given Tile into View

1 Answer 68 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 09 Aug 2011, 06:13 PM
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?

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 12 Aug 2011, 02:13 PM
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.

Regards,
Tina Stancheva
the Telerik team

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

Tags
TileView
Asked by
Jason
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or