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

Disable context menu items on docked toolwindow header

3 Answers 186 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Eljay
Top achievements
Rank 1
Eljay asked on 06 Jan 2012, 02:07 AM
I'd like to prevent the user from selecting options in the toolwindow header context menu. If this is not possible, can I prevent the entire context menu on a docked toolwindow header from appearing?

I've attached a screen shot of the context menu outlined in red that I'd like to disable. Thanks.

3 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 06 Jan 2012, 05:08 PM
Hi Eljay,

Thank you for writing.

Please refer to the following help article, where you can find the requested information: http://www.telerik.com/help/winforms/dock-architecture-and-features-using-the-contextmenuservice.html.

Should you have any other questions, do not hesitate to contact us.
 
Regards,
Stefan
the Telerik team

SP1
of Q3’11 of RadControls for WinForms is available for download (see what's new).
0
Eljay
Top achievements
Rank 1
answered on 06 Jan 2012, 05:51 PM
That did it. Thanks Stefan!
0
Stefan
Telerik team
answered on 11 Jan 2012, 05:41 PM
Hi,

I am glad to hear that I could help. If you have any other questions, do not hesitate to contact us.

Kind regards,
Stefan
the Telerik team

SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

Tags
Dock
Asked by
Eljay
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Eljay
Top achievements
Rank 1
Share this question
or