Implicit Styles Custom Font and Font Size

2 posts, 0 answers
  1. Brian
    Brian avatar
    11 posts
    Member since:
    Sep 2012

    Posted 18 Dec 2015 Link to this post


    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

  2. Masha
    Masha avatar
    355 posts

    Posted 21 Dec 2015 Link to this post

    Hello Brain,

    I'm afraid this is not possible in the current version of RadControls. You can use or Feedback Portal to log this as a feature request and vote for it to rise its priority.

    Sorry for any inconvenienced caused.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top