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

Disable context menu

1 Answer 263 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Gaëtan
Top achievements
Rank 1
Gaëtan asked on 24 Dec 2013, 09:45 AM
Is it possible to disable the contextmenu (palette) when hitting the right mouse button?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 24 Dec 2013, 10:06 AM
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 >>
Tags
ChartView
Asked by
Gaëtan
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or