There are a few approaches that you can use to implement such a scenario, but I believe that the best one is to wrap the views, you add to the RadTileView
, in a RadFluidContentControl
. Then you'll be able to take advantage of the built-in state-changing logic of the control. Basically this control exposes three different content properties - Content
. Only one of these three properties is visible at any given time. Moreover, you can control the logic that defines which content to be visible.
This is why integrating the RadFluidContentControl
with the RadTileView
control in a PRISM scenario will allow you to inject one view of type RadFluidContentControl
and then switch its content based on the RadTileViewItem.TileState
. You can even create new regions in the RadFluidContentControl
- make each content a region and then inject different views based on the type of content - Small, Large or normal.
I attached a sample project to get you started. Please have a look at it and let me know if it helps.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>