I have grid with 2 rows. I want to set first row Height base on how many lines are in RadTileView.
All items should be visible on screen (without scrollbars).
RadTileView items are moved automatically to next line if there is no place in current line.
How can i achieve that?
Sample code:
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<!--when RadTileView have more line height should change-->
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
telerik:RadTileView
x:Name
=
"ll"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
Grid.Column
=
"0"
Grid.Row
=
"0"
ItemsSource
=
"{Binding current, Mode=OneWay}"
/>
...