Hello everyone,
I'm using RadTileView and I've decided to use Grid inside tileview for items positioning. But it causes top bar with maximize/minimize button. Here is my code and the result is displayed in picture(TileWithGrid.png).
But when I remove Grid inside TileView top bar disappears. Here is code without Grid and the result is displayed in TileWithoutGrid.png
So how can I mix TileView with Grid without top bar displayed?
I'm using RadTileView and I've decided to use Grid inside tileview for items positioning. But it causes top bar with maximize/minimize button. Here is my code and the result is displayed in picture(TileWithGrid.png).
<
telerik:RadTileView
x:Name
=
"tileView"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"2.5*"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
telerik:RadTileViewItem
Background
=
"Red"
Header
=
"Item 0"
Style
=
"{DynamicResource RadTileViewItemStyle}"
Grid.Row
=
"0"
Grid.Column
=
"0"
DataContext
=
"{StaticResource NewTile}"
/>
<
telerik:RadTileViewItem
Background
=
"Blue"
Header
=
"Item 0"
Style
=
"{DynamicResource RadTileViewItemStyle}"
Grid.Row
=
"1"
Grid.Column
=
"0"
DataContext
=
"{StaticResource RecentTile}"
/>
<
Grid
>
<
telerik:RadTileViewItem
Background
=
"Orange"
Header
=
"Item 0"
Style
=
"{DynamicResource RadTileViewItemStyle}"
Grid.Row
=
"0"
Grid.Column
=
"1"
Grid.RowSpan
=
"2"
DataContext
=
"{StaticResource ErrorsTile}"
/>
</
Grid
>
</
telerik:RadTileView
>
</
Grid
>
But when I remove Grid inside TileView top bar disappears. Here is code without Grid and the result is displayed in TileWithoutGrid.png
<
Grid
>
<
telerik:RadTileView
x:Name
=
"tileView"
>
<
telerik:RadTileViewItem
Background
=
"Red"
Header
=
"Item 0"
Style
=
"{DynamicResource RadTileViewItemStyle}"
DataContext
=
"{StaticResource NewTile}"
/>
<
telerik:RadTileViewItem
Background
=
"Blue"
Header
=
"Item 0"
Style
=
"{DynamicResource RadTileViewItemStyle}"
DataContext
=
"{StaticResource RecentTile}"
/>
<
telerik:RadTileViewItem
Background
=
"Orange"
Header
=
"Item 0"
Style
=
"{DynamicResource RadTileViewItemStyle}"
DataContext
=
"{StaticResource ErrorsTile}"
/>
</
telerik:RadTileView
>
</
Grid
>
So how can I mix TileView with Grid without top bar displayed?