This question is locked. New answers and comments are not allowed.
Hi,
My RadTileView is working really well and looks great on a larger monitor. On small laptop screens however, the RadTileViewItems are too small.
Ideally, I would like to be able to set a minimum height for RadTileViewItems and have a vertical scrollbar appear to the right if there are more tiles than can fit on the screen. So if there are 20 photos (RadTileViewItems) but only 12 can show at once (3 rows of 4) the user can scroll down to see the other 8 photos.
Currently, the RadTileView seems to "squish/stretch" to fill the area of the screen (which is normally fine) but only if it obeys a minimum height for the RadTileViewItems.
Hopefully I have explained this well enough. I couldn't add pictures of what I am trying to do.
Any support or help with this problem that I am stuck on would be greatly appreciated,
Rob Francis
P.S. I did search for similar issues but didn't find one that answered my problem. Apologies if I missed it.
My RadTileView is working really well and looks great on a larger monitor. On small laptop screens however, the RadTileViewItems are too small.
Ideally, I would like to be able to set a minimum height for RadTileViewItems and have a vertical scrollbar appear to the right if there are more tiles than can fit on the screen. So if there are 20 photos (RadTileViewItems) but only 12 can show at once (3 rows of 4) the user can scroll down to see the other 8 photos.
Currently, the RadTileView seems to "squish/stretch" to fill the area of the screen (which is normally fine) but only if it obeys a minimum height for the RadTileViewItems.
Hopefully I have explained this well enough. I couldn't add pictures of what I am trying to do.
<
telerik:RadTileView
x:Name
=
"tvPhotos"
Grid.Row
=
"1"
IsAutoScrollingEnabled
=
"True"
IsSelectionEnabled
=
"True"
SelectionMode
=
"Single"
TileStateChangeTrigger
=
"SingleClick"
MaxColumns
=
"5"
PreservePositionWhenMaximized
=
"True"
PreviewTilePositionChanged
=
"tvPhotos_PreviewTilePositionChanged"
TileDragEnded
=
"tvPhotos_TileDragEnded"
>
<
telerik:RadTileView.ItemContainerStyle
>
<
Style
TargetType
=
"telerik:RadTileViewItem"
>
<
Setter
Property
=
"MinimizedHeight"
Value
=
"100"
/>
</
Style
>
</
telerik:RadTileView.ItemContainerStyle
>
<
telerik:RadTileView.ItemTemplate
>
<
DataTemplate
telerik:ContainerBinding.ContainerBindings
=
"{StaticResource myBindings}"
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
MinWidth
=
"50"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Text
=
"{Binding Filename}"
Grid.Column
=
"0"
/>
<
TextBlock
Text
=
"{Binding DisplayOrder}"
Grid.Column
=
"1"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadTileView.ItemTemplate
>
<
telerik:RadTileView.ContentTemplate
>
<
DataTemplate
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
Image
Source
=
"{Binding UrlLarge}"
Grid.Row
=
"0"
/>
<
TextBox
Text
=
"{Binding Caption, Mode=TwoWay}"
Grid.Row
=
"1"
Margin
=
"10"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadTileView.ContentTemplate
>
</
telerik:RadTileView
>
Any support or help with this problem that I am stuck on would be greatly appreciated,
Rob Francis
P.S. I did search for similar issues but didn't find one that answered my problem. Apologies if I missed it.