Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to override ContentControlThemeFontFamily

is it possible to set a custom font for ContentControlThemeFontFamily in WinRt Applications in the standardstyles.xaml?

do you have any example?

like image 374
Boas Enkler Avatar asked Sep 01 '12 12:09

Boas Enkler


1 Answers

Create a resource dictionary of your own and override the themes.

<ResourceDictionary.ThemeDictionaries>
    <ResourceDictionary x:Key="Default">
         <FontFamily x:Key="ContentControlThemeFontFamily">Times new roman</FontFamily>
     </ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>
like image 88
Sameer Vartak Avatar answered Sep 24 '22 15:09

Sameer Vartak