How to display a SmallContent for RadTileViewItem

3 posts, 0 answers
  1. L
    L avatar
    11 posts
    Member since:
    Nov 2011

    Posted 23 Nov 2011 Link to this post

    I add several  RadTileViewItems for a RadTileView and everyRadTileViewItem nest a RadTileView which bind itemsource to objects.
    ,.The code like this:

    <telerik:RadTileView x:Name="myTileView" MinimizedItemsPosition="Right" 
                                             MinimizedColumnWidth="120" 
                                             PreservePositionWhenMaximized="True">
    <telerik:RadTileViewItem Header="Tile1" >
    <telerik:RadTileView x:Name="myTileView" MinimizedItemsPosition="Right" 
                                             MinimizedColumnWidth="120"  ItemSource="Object1"
                                             PreservePositionWhenMaximized="True">
                              </telerik:RadTileView>
        </telerik:RadTileViewItem>
    <telerik:RadTileViewItem Header="Tile2" >
    <telerik:RadTileView />

          </telerik:RadTileViewItem>
    <telerik:RadTileViewItem Header="Tile3" >
    <telerik:RadTileView />
        </telerik:RadTileViewItem>
    <telerik:RadTileViewItem Header="Tile4" >
        <telerik:RadTileView />
        </telerik:RadTileViewItem>
    <telerik:RadTileViewItem Header="Tile5" >
        </telerik:RadTileViewItem>
    <telerik:RadTileViewItem Header="Tile6" >
        </telerik:RadTileViewItem>
    <telerik:RadTileViewItem Header="Tile7" >
        </telerik:RadTileViewItem>
    <telerik:RadTileViewItem Header="Tile8" >
        </telerik:RadTileViewItem>
    <telerik:RadTileViewItem Header="Tile9" >
        </telerik:RadTileViewItem>
    <telerik:RadTileViewItem Header="Tile10" >
        </telerik:RadTileViewItem>

    </telerik:RadTileView>

    The question is how I let RadTileViewItem from 1 to 10 display a small size content when they in minimized size, because some tileViewItem just displaying part of interface are ugly, I have to display a alternative content when they are not focus.

    Thanks.




  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 28 Nov 2011 Link to this post

    Hello L,

     You can use RadFluidContentControl in order to display different Content depending on current TileViewItemState.
    Hope you will find these two links useful:
    FluidContentControl in static scenarios
    FluidContentControl in databound RadTileView

    Regards,
    Petar Mladenov
    the Telerik team

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

  3. DevCraft banner
  4. L
    L avatar
    11 posts
    Member since:
    Nov 2011

    Posted 28 Nov 2011 Link to this post

    Thank you very much.
Back to Top