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

ComboBoxBarItem problem

Thread ID:





71975 Feb 25,2008 07:46 AM UTC Feb 25,2008 12:27 PM UTC WinForms 1
Tags: Tools
Ranju Malhotra
Asked On February 25, 2008 07:46 AM UTC

I want to perform copy paste option in ComboBoxBarItem textbox.which i am able to do successfully using ctrl+C and ctrl+V.But i want to perforn the same operation through menu options.copy and paste options are disbled by default and should be activated when user selects this baritem.and should be disabled when user selects any other bar item or control exept copy,paste.I was able to do the same when i used panel and added combobox to it.I used enter and leave events of the combobox .but after adding baritems instead this cannnot be implemented.is there any event corresponding to Leave event of combobox.??? or can we check whether cursor is still blinking in the comboboxbaritem??????

can we add a panel to barmanager so that it can act as toolbar as the above functionality is working fine through panel???

Administrator [Syncfusion]
Replied On February 25, 2008 12:27 PM UTC

Hi Ranju,

Thank you for using Syncfusion products.

Enter and Leave events for ComboBoxBarItem :

Yes, You can access Enter and Leave events of ComboBoxBarItem using ComboBoxBarItem.ListBox as follows.


this.comboBoxBarItem1.ListBox.Enter += new EventHandler(ListBox_Enter);
this.comboBoxBarItem1.ListBox.Leave += new EventHandler(ListBox_Leave);

You can also make the panel with comboBox to act as toolbar using CommandBar which is used to create and host toolbar.

Please refer Online documentation on CommandBar in the following link


Sample reference

Please refer the simple sample demonstrates the above said features.

Please let me know if this helps you.



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