FontFamilyComboBox: Preview vs. UndoStack

Ribbon for WPF Forum

Posted 8 years ago by Detlef Peters - Software Architect, MID GmbH
Version: 12.1.0560

Hello everybody,

we have noticed (in your SampleBrowser, too) that previewing a FontFamily from the FontFamilyComboBox (--> 'ValueCommandParameterAction.Preview') already adds to the UndoStack of a RichTextBox. Our expectations were, indeed, that this only happens in the 'ValueCommandParameterAction.Commit' case.

So, can you tell me how to achieve this?

Thanks in advance,

 Detlef Peters

Comments (1)

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

Hi Detlef,

Unfortunately we haven't found a way around that with the RichTextBox API, to prevent it from happening.

Actipro Software Support

The latest build of this product (v21.1.1) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.