Themed resources for universal apps
I am migrating a Windows Phone 8 app to the Windows General Store. What is the correct way to replace static theme resources from wp8 (e.g. PhoneFontFamilyNormal, PhoneFontSizeNormal, PhoneAccentBrush). Is there a similar list of themes in universal windows apps so I can override these values ββor do I need to manually change all of the styles? Thank.
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
+3
Dacian mujdar
source
to share
1 answer
Resource names are slightly different from 8.1.
eg.
FontFamily="{ThemeResource PhoneFontFamilyNormal}"
FontSize="{ThemeResource ContentControlFontSize}"
Foreground="{ThemeResource ApplicationForegroundThemeBrush}"
0
H77
source
to share