TextElement.FontSize

Ribbon for WPF Forum

Posted 13 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 13 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 (v24.1.2) was released 2 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.