Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Clear items from RichTextEditorRibbonBar start menu.

$
0
0
Hello,

Thank you for contacting Telerik support.

RichTextEditorRibbonBar uses BackstageView for item start button. More information on this functionality is available here: http://www.telerik.com/help/winforms/ribbonbar-backstage-view-working-with-backstage-view.html.

Here is also an example how to clear the existing items and add a tab item with a control in it and a button item with some functionality:
richTextEditorRibbonBar1.BackstageControl.Items.Clear();
 
BackstageTabItem tab1 = new BackstageTabItem("tab text");
tab1.Page.Controls.Add(new RadLabel() { Text = "some control" });
richTextEditorRibbonBar1.BackstageControl.Items.Add(tab1);
 
BackstageButtonItem btn1 = new BackstageButtonItem("btn text");
btn1.Click += (s,ev) => { RadMessageBox.Show("hello"); };
richTextEditorRibbonBar1.BackstageControl.Items.Add(btn1);

Note that changes to the RichTextEditorRibbonBar is recommended to be done with code, not at design time.

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

Regards,
Stefan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>