Remove group from Context Menu

2 posts, 0 answers
  1. Samuel
    Samuel avatar
    24 posts
    Member since:
    Feb 2009

    Posted 16 Dec 2010 Link to this post

    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

  2. Boby
    Admin
    Boby avatar
    763 posts

    Posted 20 Dec 2010 Link to this post

    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
Back to Top