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

Making ParentBarItem Checked

Thread ID:





10157 Jan 23,2004 12:49 PM UTC Feb 7,2004 09:14 PM UTC WinForms 5
Tags: Tools
Justin Koh
Asked On January 23, 2004 12:49 PM UTC

I have a list of tools represented by toolbar buttons. Most are BarItems, but one is a ParentBarItem. I can check the BarItems to show the currently selected tool, but I can''t check the ParentBarItem. Is there a way to do this?

Administrator [Syncfusion]
Replied On January 23, 2004 03:27 PM UTC

Hi Justin Refer to the XPMenusMDI sample located in the Syncfusion\Essential Suite\Tools\samples\Menus Package\XPMenusMDI directory. You can choose any of the ParentBarItems in the designer and then set it''s Checked property to True. Does this take care of what you are looking for? Regards Arun

Justin Koh
Replied On January 26, 2004 01:47 PM UTC

Actually, in this sample, it''s not possible to keep the parent bar item checked. So, in the example, it''s possible to check the baritem for Themes and have a border appear around the Themes button. However, it does not seem possible to check the Alignment button, and leave the border around it, since the Alignment is a ParentBarItem.

Justin Koh
Replied On February 5, 2004 05:52 PM UTC

I just checked the ParentBarItem.Checked property and in the Intellisense summary, it says, "Not valid for this class." This is a ParentBarItem, not an XPMenus.DropDownButton. I would use that DropDown Button instead, but I don''t need a PopupControlContainer, I just need a menu to drop down. Why isn''t this function valid?

Administrator [Syncfusion]
Replied On February 5, 2004 07:34 PM UTC

Hi Justin Which version of Essential Tools are you using. You should try this with the latest beta version of Essential Suite 2.0. Kindly send an email to salessupport@syncfusion.com to obtain the latest version. You need to set the ParentBarItem''s ParentStyle to DropDown to do what you are looking for in the latest version. Regards Arun

Justin Koh
Replied On February 7, 2004 09:14 PM UTC

I am using the latest release (not beta). This isn''t time critical, so I''ll wait for the new version to implement this behavior. Thank 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

Live Chat Icon For mobile
Live Chat Icon