Place TileItems vertically instead of horizontally

2 posts, 0 answers
  1. Sunil
    Sunil avatar
    1 posts
    Member since:
    Sep 2011

    Posted 14 Dec 2011 Link to this post

    Hi,

    I want to have two RadTileViewItem in RadTileView. with both of them places one over another vertically. presently they are places horizontaly.

    Please tell me how can I achieve it, is there any property ? If no, then how?


     <telerik:RadTileView IsItemDraggingEnabled="True" MaximizeMode="ZeroOrOne"
                                 PreservePositionWhenMaximized="True" ColumnsCount="2" >

                <telerik:RadTileViewItem Header="Traffic Deal" Name="rtvTrafficDeal" VerticalAlignment="Top" >
                <!--TV1->
       </telerik:RadTileViewItem>

          <telerik:RadTileViewItem  Header="Unit Mix" Name="rtvUnitMix" VerticalAlignment="Bottom" HorizontalAlignment="Stretch">
                <!--TV2->
           </telerik:RadTileViewItem>


    Thanks
    Sunil Mehta
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 19 Dec 2011 Link to this post

    Hello Sunil,
    If you want your RadTileViewItems to be one over another you should set the ColumnsCount property to one like this:
    <telerik:RadTileView  ColumnsCount="1"
                   MaximizeMode="ZeroOrOne"
                   MinimizedColumnWidth="200"
                   PreservePositionWhenMaximized="True">
        <telerik:RadTileViewItem Name="rtvTrafficDeal" Header="Traffic Deal" />
        <telerik:RadTileViewItem Name="rtvUnitMix" Header="Unit Mix" />
    </telerik:RadTileView>
    If you have more questions please feel free to ask.

    All the best,
    Zarko
    the Telerik team

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

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top