Hi,
to anyone having the same Issue:
When you use the Windows8 theme (or Windows8Touch theme) and you place a TextBlock inside a RadTabItem, the TextBlock's Foreground is set to white, which makes the TextBlock effectively invisible.
To work around this issue you have to set the ContentTemplate of the RadTabControl like this:
This will set the Foreground of all TextBlocks placed inside the TabControl to Black, so that they are visible again.
Please note that this will not work if the IsContentPreserved Property of the RadtabControl is set to true.
I hope this helps someone.
Sincerely yours,
David Liebeherr
to anyone having the same Issue:
When you use the Windows8 theme (or Windows8Touch theme) and you place a TextBlock inside a RadTabItem, the TextBlock's Foreground is set to white, which makes the TextBlock effectively invisible.
To work around this issue you have to set the ContentTemplate of the RadTabControl like this:
<
telerik:RadTabControl
>
<
telerik:RadTabControl.ContentTemplate
>
<
DataTemplate
>
<
ContentControl
Content
=
"{Binding}"
TextBlock.Foreground
=
"Black"
/>
</
DataTemplate
>
</
telerik:RadTabControl.ContentTemplate
>
</
telerik:RadTabControl
>
This will set the Foreground of all TextBlocks placed inside the TabControl to Black, so that they are visible again.
Please note that this will not work if the IsContentPreserved Property of the RadtabControl is set to true.
I hope this helps someone.
Sincerely yours,
David Liebeherr