This is a migrated thread and some comments may be shown as answers.

Rich Text Editor Ribbon Bar - hide all file menu operations

2 Answers 449 Views
RichTextEditor
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 16 Feb 2017, 02:49 PM
Hi, I am working with the Rich Text Editor Ribbon Bar in WinForms.  I want to hide the entire File menu options.  How can this be done?

2 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 17 Feb 2017, 11:12 AM
Hello Bill,

Thank you for writing.  

In order to hide entire File menu, it is necessary to set the RibbonBarElement.ApplicationButtonElement.Visibility property to Collapsed:
this.richTextEditorRibbonBar1.RibbonBarElement.ApplicationButtonElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Bill
Top achievements
Rank 1
answered on 17 Feb 2017, 02:37 PM
Thank you - that's what I was looking for.  I appreciate it.
Tags
RichTextEditor
Asked by
Bill
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Bill
Top achievements
Rank 1
Share this question
or