Hi,
We are rebuilding our application and using implicit styling with the Windows 8 theme. We have a custom font we'd like to use and wish to increase the font size of all controls (Telerik and the default .NET controls). I know we can use the following in code-behind to accomplish this:
Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeXS += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeS += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSize += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeL += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeXL += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeXXL += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeXXXL += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontFamily =
new
FontFamily(
"CustomFontName"
);
But this obviously does not apply the font and font size during design-time, which makes it hard to design the UI because the size increases when the application is ran. Is there a way we can set the font and font size in XAML, like in a ResourceDictionary, so that the controls will accept the changes during design-time?
Thanks for the help,
Brian Moore