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

Place TileItems vertically instead of horizontally

1 Answer 57 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Sunil
Top achievements
Rank 1
Sunil asked on 14 Dec 2011, 02:45 PM
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

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 19 Dec 2011, 10:07 AM
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 >>

Tags
TileView
Asked by
Sunil
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or