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

Remove group from Context Menu

1 Answer 71 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Samuel
Top achievements
Rank 1
Samuel asked on 17 Dec 2010, 01:24 AM
I wish to remove the Table and Formatting Groups. I sort of got this working by inheriting ContextMenuContentBuilder.
Problem is that there is an extra seperater using this hack.
What is the correct way of doing this?

Protected Overrides Function CreateTableCommands() As Telerik.Windows.Controls.RichTextBoxUI.Menus.ContextMenuGroup
    Return New ContextMenuGroup
End Function
Protected Overrides Function CreateTextEditCommands() As Telerik.Windows.Controls.RichTextBoxUI.Menus.ContextMenuGroup
    Return New ContextMenuGroup
End Function

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 20 Dec 2010, 02:34 PM
Hello Samuel,
Your approach is correct, however there is a bug that is causing this separator to show and there is no easy workaround. The good news is that Q3 SP1 is on its way (in a week or so), and we will include the fix in it.
The points in your account have been updated in appreciation for this bug report.

Don't hesitate to contact us if you have other questions.

All the best,
Boby
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
RichTextBox
Asked by
Samuel
Top achievements
Rank 1
Answers by
Boby
Telerik team
Share this question
or