Change text of the items in the context menu

5 posts, 0 answers
  1. Jill-Connie Lorentsen
    Jill-Connie Lorentsen avatar
    118 posts
    Member since:
    Nov 2008

    Posted 30 Mar 2009 Link to this post

    I would like to change the text of the items

    -Close
    -Close All But This
    -New Horizontal Tab Group
    -New Vertical Tab Group

    in the context menu of my document panes

    I use the DockingManager with automatic MDI child detection enabled.

    I just want to change it to another language, the functionality must remain the same.

    Also, is it possible to remove the New Horizontal/Vertival Tab Group items?


    Regards,
    Jill-Connie Lorentsen

  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 31 Mar 2009 Link to this post

    Hello Jill-Connie Lorentsen,

    Thank you for contacting us.

    You can use LocalizationSettings property of the DockingManager to localize the context menu. About the menu changes you can use the DockPanel.DockContextMenu.DropDownOpening event handler.

    Do not hesitate to contact me back if you have further questions.

    Best wishes,
    Julian Benkov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. yas
    yas avatar
    1 posts
    Member since:
    Oct 2008

    Posted 25 Jan 2010 Link to this post

    please could u provide a small tutorial like u did with the other controls ??
    thank you
  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 27 Jan 2010 Link to this post

    Hello yas,

    In order to change the text of the RadDock context menu items, you should create a custom localization provider. For additional information, please refer to the following help article: Localization.

    Best wishes,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. Nathaniel
    Nathaniel avatar
    12 posts
    Member since:
    Feb 2009

    Posted 21 Feb 2011 Link to this post

    For those who might be struggling with this, the following link contains updated information, and is applicable to DocumentWindow

    http://www.telerik.com/help/winforms/dock-architecture-and-features-using-the-contextmenuservice.html
Back to Top
UI for WinForms is Visual Studio 2017 Ready