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

Displaying greyed out mimimized tile of a maximized tile

5 Answers 113 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Madhu
Top achievements
Rank 1
Madhu asked on 05 Oct 2011, 11:06 AM
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

5 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 10 Oct 2011, 09:22 AM
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 >>

0
Madhu
Top achievements
Rank 1
answered on 10 Oct 2011, 10:37 AM
Hi Tina,

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

Regards,
Madhu
0
Tina Stancheva
Telerik team
answered on 11 Oct 2011, 06:45 PM
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 >>

0
Kanwal
Top achievements
Rank 1
answered on 07 Dec 2011, 04:11 PM
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.
0
Tina Stancheva
Telerik team
answered on 12 Dec 2011, 04:58 PM
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 >>

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