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
close icon

CommandBarController

Hello,

Is it possible to add a context menu to the CommandBarController?

Thanks,
Sujee

1 Reply

MJ Mano J Syncfusion Team September 22, 2006 10:46 PM UTC

Hi Sujee,

You can''t add .Net context menu to commandbars created by commandBarController. But you can add Syncfusion popupmenu to commandBars.

1. If you want to show the popupmenu on the dropdown button of the commandBar, you have add a popupmenu component to the form and associate it to CommandBar.Popupmenu property.

2. If you want to show the popupmenu when you right-click on the commandBar, you have to add a popuMenuManager along with popupmenu component. This will add an extended property on the commandBar properties windows as "XPContextMenu on popupMenusManager". You can assign the popupmenu selected from the dropdownlist.

Please let me know if you have any questions.

Regards,
Mano

Loader.
Live Chat Icon For mobile
Up arrow icon