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.

Modifying Context Menu before show it

Thread ID:

Created:

Updated:

Platform:

Replies:

8154 Oct 23,2003 03:48 AM Oct 23,2003 07:59 AM Windows Forms 1
loading
Tags: Tools
Alexander Arlievsky
Asked On October 23, 2003 03:48 AM

Hi, We have syncfusion popup menu, which is used as context menu on the various controls (including databound grid). We need to modify state/images of the menu items before menu is shown, based on the current state of the form, selected object etc. I don't see any popup-menu specific event or virtual method where I can do this. Is the only way to do that is to catch mouse up event of every control and do it there ? Thanks, Alexander Arlievsky

Arun Srinivasan [Syncfusion]
Replied On October 23, 2003 07:59 AM

Hi Alexander, You can access your PopUpMenu's ParentBarItem property. You could listen to the ParentBarItem's BeforePopup to do what you are looking for. Regards, Arun

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.

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.

;