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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TabbedMDIManager & contextMenu

Thread ID:

Created:

Updated:

Platform:

Replies:

42742 Apr 5,2006 07:40 AM Apr 5,2006 09:39 AM Windows Forms 1
loading
Tags: Tools
sabrina
Asked On April 5, 2006 07:40 AM

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

Administrator [Syncfusion]
Replied On April 5, 2006 09:39 AM

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

CONFIRMATION

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.

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

;