Inherits from RibbonWindow - from 197307

2)How to hide the save button in TitleBar ?
P2.png


3 Replies 1 reply marked as answer

KG Kalaivannan Ganesan Syncfusion Team August 11, 2025 11:36 AM UTC

Hi David,

The SfRichTextRibbon control is a pre-configured Ribbon designed specifically for the WPF RichTextBox (SfRichTextBoxAdv) control. It is not designed to support adding or removing items directly.

However, you can create your own customized Ribbon using the standard Ribbon control to suit your specific requirements for SfRichTextBoxAdv.

For more details and a sample implementation, please refer to the following Knowledge Base article:
How to customize SfRichTextRibbon in WPF RichTextBox (SfRichTextBoxAdv)?

Since your requirement is to hide the Save option in the Quick Access Toolbar, you can simply exclude that option from your customized Ribbon implementation. Additionally, we’ve attached a custom sample application where the Save option has been removed from the Quick Access Toolbar.

Please refer to the attached sample for further guidance.


Attachment: Customized_SfRichTextRibbon_b7c3d1ee.zip


DC David Chiang August 28, 2025 08:48 AM UTC

Hi,

Is there any way to detect when the user clicks the "Save" button and handle the event manually?



KG Kalaivannan Ganesan Syncfusion Team August 29, 2025 09:01 AM UTC

David,

We would like to inform you that the click events of the buttons used in the SfRichTextRibbon control cannot be overridden, as they are already predefined within the control.

If your requirement is to handle events when the Save button is clicked, as mentioned earlier, we recommend using a customized SfRichTextRibbon instead of the predefined one. This will allow you to define and manage button events according to your specific needs.


Marked as answer
Loader.
Up arrow icon