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

Layout with vertical scrollbar instead of horizontal

1 Answer 304 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 15 Apr 2014, 05:09 PM
Hi. I'm fairly new to this. I am trying to set up a RadTileView with a variable number of items. I have bound the ItemsSource to my ViewModel, set up the ContentTemplate as a grid, and can display each item fine. The only problem is that when there are too many items to fit on one row in the window they still lay themselves out as a single row and a horizontal scrollbar appears. What I want is for the items to wrap onto multiple rows with a vertical scrollbar if necessary. I'm sure this must be totally obvious but I can't seem to find the right setting to make it do this.

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 18 Apr 2014, 01:55 PM
Hi Dave,

From your explanation it seems that you've set the RowsCount property of the RadTileVIew to 1 and that's why you see the horizontal scroll bar. If you set the RowsCount to 0 (or remove the setter) the RadTileView will automatically place the items on a new row. You can also see the Rows and Columns help article which explains how to change the arrangement of the TileViewItems.

Please if you have any further questions don't hesitate to ask them.

Regards,
Martin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TileView
Asked by
Dave
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or