Hello,
I use RadTileView as a Prism Region and then inject views. View is derived from RadTileViewItem so I can define my custom Style, Header Template and Content Template. View is bound to a ViewModel which contains properties to bind Header (Title and Icon) and Content (for TileViewitem Content). For Content Template I use RadFluidContentControl and works fine. But I have a problem with HeaderTemplate. It’s very simple DataTemplate which contains: StackPanel with Image and TextBlock.
<
telerik:RadTileViewItem.HeaderTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Source
=
"{Binding IconPath}"
Width
=
"28"
Height
=
"28"
VerticalAlignment
=
"Center"
Margin
=
"0,3,0,3"
/>
<
TextBlock
Text
=
"{Binding Title}"
FontWeight
=
"Bold"
Margin
=
"5,0,0,0"
FontSize
=
"12"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerik:RadTileViewItem.HeaderTemplate
>
When view is registered first time, Header is displayed, but when I minimize RadTileViewItem, Header disappears and does not show again. Do you have any idea why?