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

Implement queue like positioning of minimised tile view icons

1 Answer 26 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Nayab
Top achievements
Rank 1
Nayab asked on 09 Feb 2012, 01:01 PM
In our current usage scenario, we allow only one tileview to be open in the maximized state. The other tile views appear in the minimised state on the left hand side. When a user selects one of the minimised tiles, the current maximised tile replaces the "to-be-opened" minimised tilleview on the left. We want that the latest maximised tileview should get appended at the top of the minimised tileview icons list. how can this be achieved ?

thanks in advance

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 14 Feb 2012, 11:19 AM
Hi Nayab,

 You have to use the PreviewTileStateChanged, PreviewTilePositionChanged changed events, store (reference) the item that have to  be repositioned to Position 0, and attach / detach PreviewTilePositionChaged  event. The main idea is as follows - you are going to maximize item with Position 10, so you have to update every item's Position from (Position 1 to Position 9) and increase it with 1.
Then you have to Set the "ItemToBeMiniMized" Position to 0.

All the best,
Petar Mladenov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
TileView
Asked by
Nayab
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or