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

Two state BarItem in a toolbar

Thread ID:





9302 Dec 12,2003 06:04 PM UTC Dec 12,2003 08:05 PM UTC WinForms 3
Tags: Tools
Desis Machino
Asked On December 12, 2003 06:04 PM UTC

Does the baritem support a 2 state button similar to toolbar items within the .NET studio environment. For example on the properties window within the .NET studio, there is the option to select properties sorted by catagory or alphabetized. And when users click on one the button changes to selected state to let the user know how the properties are sorted. Do the tool bar tools also support this functionality (I could not find an example of this nor was this implemented in the VS.NET demo). Thanks, Vikram.

Administrator [Syncfusion]
Replied On December 12, 2003 07:02 PM UTC

Hi Vikram, You can do what you are looking for by through the Checked property of the BarItem. Kindly take a look at the XPMenusMDI sample located in the Program Files\Syncfusion\Essential Suite\Tools\samples\Menus Package\XPMenusMDI directory. Run the sample and click on the "Themes Enabled" and "Custom Colors" for a demonstration of what you are looking for. Regards, Arun

Desis Machino
Replied On December 12, 2003 07:20 PM UTC

Yes this shows 2 states but it simply draws a rectangle around the button selected. Is there a way to duplicate the functionality provided in the .NET studio, where the button selected changes color (as in the example described in the previous message with properties).

Administrator [Syncfusion]
Replied On December 12, 2003 08:05 PM UTC

Hi Vikram Thanks for your clarification. The Essential Tools team will look at changing the color of the baritem when selected and I will post an update as soon as I have more information on this issue. Regards Arun


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

Live Chat Icon For mobile
Live Chat Icon