TextElement.FontSize

Ribbon for WPF Forum

Posted 8 years ago by Jon Cain - Software Architect, AutoMon Corporation
Version: 11.1.0532
Avatar
Hello,

I want to increase the font size of the TextBlock element throughout my application from 12 to 13, but I would like to leave the font size at 12 for TextBlocks within the ribbon. Is there an easy way to do this without overriding the styles of controls that don't seem to respect the FontSize property of a containing control?

Some of the controls that are affected by this issue are:

The ribbon tabs, e.g., Home, View, etc labels
Category headers in a gallery control
PopupButton

Thanks,

Jon

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Jon,

You could probably set the attached TextElement.FontSize property on the Ribbon control to some value to prevent the font size you set above that level from inheriting and taking effect.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.