Displaying greyed out mimimized tile of a maximized tile

6 posts, 0 answers
  1. Madhu
    Madhu avatar
    30 posts
    Member since:
    May 2011

    Posted 05 Oct 2011 Link to this post

    Hi,

    We have 12 tiles on our UI and when one of them is maximized all the other 11 pile up on the left side. Is there a way to continue to display the 12th tile (the maximized one) as part of this pile and grey it out (to indicate that it is maximized) instead each tile replacing the others position in the pile.

    Regards,
    Madhu
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 10 Oct 2011 Link to this post

    Hi Madhu,

    I am not sure if I understand completely the requirements of your scenario, but you can handle the PreviewTileStateChanged event to stop the maximization of an item. Since the PreviewTileStateChangedEventArgs will give you access to the tile which state is changing, you can change the tile's BorderBrush and/or BorderThickness.

    Please have a look at the attached sample and let me know if it helps. I hope it will get you started on your task.

    All the best,
    Tina Stancheva
    the Telerik team

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

  3. DevCraft banner
  4. Madhu
    Madhu avatar
    30 posts
    Member since:
    May 2011

    Posted 10 Oct 2011 Link to this post

    Hi Tina,

    Thanks for your repsonse. I am attaching a picture to help explain my requirement better.

    Regards,
    Madhu
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 11 Oct 2011 Link to this post

    Hello Madhu,

    Thank you for getting back to us and clarifying your scenario. In order to implement it I think it would be best to use two different TileView controls. I attached a sample project to get you started. Please let me know if it helps or if I can further assist you.

    Regards,
    Tina Stancheva
    the Telerik team

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

  6. Kanwal
    Kanwal avatar
    5 posts
    Member since:
    Nov 2011

    Posted 07 Dec 2011 Link to this post

    Tina,

    Thanks for the demo. It is exactly what the requirenmnet is. Problem is ,original tileview in my  application contains fluid content control inside the content of all rad tileview items. So when i try to copy the content of the maximised item of original tileview
     directly to new maximised rad tile view item . It throws "argument out of range exception".The  original tileview of the provide demo contains just header part ,no content. Please provide a demo with the radtileview items which use fluid content control inisde their content. 

    Regards,
    Kanwal.
  7. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 12 Dec 2011 Link to this post

    Hello Kanwal,

    I modified the solution by binding the RadTileView control to a collection of business objects and using a FluidContentControl in the ContentTemplate of the original TileView control. Please let me know if the modified solution works for you or if I can further assist you.

    Kind regards,
    Tina Stancheva
    the Telerik team

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

Back to Top
DevCraft banner