We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TabbedMDIManager & contextMenu

Thread ID:





42742 Apr 5,2006 11:40 AM UTC Apr 5,2006 01:39 PM UTC WinForms 1
Tags: Tools
Asked On April 5, 2006 11:40 AM UTC

How can I disable contextMenu on tab right-click ? ie contextMenu = null.

Administrator [Syncfusion]
Replied On April 5, 2006 01:39 PM UTC

Hi Sabrina, To disable/hide the TabbedMDIManager''s context-menu, you can handle the BeforePopup event to cancel the popup. Here is the code snippet: //Handling the BeforePopup Event this.tabbedMDIManager.ContextMenuItem.BeforePopup += new CancelEventHandler(ContextMenuItem_BeforePopup); private void ContextMenuItem_BeforePopup(object sender, CancelEventArgs e) { e.Cancel = true; } Here with I attach a Sample for your reference: TabbedMDI_42742.zip Please let me know if this helps you.Thanks for your interest in Syncfusion products. Best Regards, Seetha


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon