Disable context menu

2 posts, 0 answers
  1. Gaëtan
    Gaëtan avatar
    2 posts
    Member since:
    Dec 2013

    Posted 24 Dec 2013 Link to this post

    Is it possible to disable the contextmenu (palette) when hitting the right mouse button?
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 24 Dec 2013 Link to this post

    Hello Gaëtan,

    Thank you for writing.

    You can disable the context menu in RadChartView by using the ContextMenuOpening event:
    radChartView1.ContextMenuOpening += radChartView1_ContextMenuOpening;
    ....
    void radChartView1_ContextMenuOpening(object sender, ChartViewContextMenuOpeningEventArgs e)
    {
        e.Cancel = true;  
    }

    I hope this helps. 

    Regards,
    Stefan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top