RibbonBackStage with RadTileView

3 posts, 0 answers
  1. YongKoo Kang
    YongKoo Kang avatar
    101 posts
    Member since:
    Jan 2010

    Posted 28 Aug 2012 Link to this post

    Hi telerik,

    I have a RibbonBackStage binded with ViewModel,in which view contains radTileView.
    When expands one in a  RadTileView after selecting backstage tab, it spreads wider than the width of remained tab space
    as if he assumes there is no space for backstage tab header width,so bottom horizontal scrollbar appears and minimized tiles are out of screen.
    Brief XAML is as follows;
    (PreservePositionWhenMaximized setting has no effect)

       <DataTemplate x:Key="ContentTemplate">
                    <ContentPresenter Content="{Binding View, Mode=OneWay}" />
       <telerik:RadTileView x:Name="purTiles" ItemsSource="{Binding ChildVM}" ContentTemplate="{StaticResource ContentTemplate}" MinimizedColumnWidth="350" MinimizedRowHeight="300" PreservePositionWhenMaximized="False">

    Searched this thread if any limits exist when using tileview with backstage,but can't find out.
    What am I missing ?

    p.s. can't find button to upload image.


  2. Zarko
    Zarko avatar
    755 posts

    Posted 31 Aug 2012 Link to this post

    Hi Yong-Gu,
    I guess that you're experiencing this strange behavior because by default the RibbonBackStage has a ScrollViewer around its content. This means that the RadTileView will be measured with infinity (because of the ScrollViewer) and this is the default behavior of the TileView when it doesn't have size and it's measured with infinity. You can change this by setting (Max)Height/(Max)Width to the RadTileView or you could use two attached properties and RowHeight/ColumnWidth:
    <telerik:RadTileView MinimizedColumnWidth="350" MinimizedRowHeight="300"
                                    telerik:TileViewPanel.InfiniteHeight="550" telerik:TileViewPanel.InfiniteWidth="1000"
                                    RowHeight="250" ColumnWidth="300" ColumnsCount="2"
    If you have further questions please feel free to ask.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
  4. YongKoo Kang
    YongKoo Kang avatar
    101 posts
    Member since:
    Jan 2010

    Posted 03 Sep 2012 Link to this post

    Aha~ Thank you for your info.


Back to Top