Implement queue like positioning of minimised tile view icons

2 posts, 0 answers
  1. Nayab
    Nayab avatar
    4 posts
    Member since:
    Feb 2012

    Posted 09 Feb 2012 Link to this post

    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
  2. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 14 Feb 2012 Link to this post

    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 >>
  3. DevCraft R3 2016 release webinar banner
Back to Top