This is a migrated thread and some comments may be shown as answers.

Implicit Styles Custom Font and Font Size

1 Answer 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 18 Dec 2015, 05:02 PM

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

1 Answer, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 21 Dec 2015, 08:50 AM
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.

Regards,
Masha
Telerik
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
Tags
General Discussions
Asked by
Brian
Top achievements
Rank 1
Answers by
Masha
Telerik team
Share this question
or