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. Image for the cookie policy date

TabbedMDIManager & contextMenu

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon