How to change the list of sizes in FontSizeComboBox?

Ribbon for WPF Forum

Posted 6 years ago by Jim Foye
Version: 18.1.0672

For example, I'd like 13 to be an option in the list

Comments (1)

Answer - Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Jim,

The FontSizeComboBox.OnInitialized method currently inserts a number of ComboBoxItem objects into the Items collection, where the Content of each item is a "double" numeric value.  You could programmatically insert 13 in the same was after it's loaded.  Or you could override that method and do it there.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.