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

XPMenus Menubar and toolbar on a usercontrol?

Thread ID:





68111 Sep 8,2007 06:15 AM UTC Sep 11,2007 08:14 AM UTC WinForms 3
Tags: Tools
Keshav Kamat
Asked On September 8, 2007 06:15 AM UTC

Is it possible to add Bar from a mainframemanager to a usercontrol or a panel?

Jeba S [Syncfusion]
Replied On September 8, 2007 08:58 AM UTC

Hi Keshav,

Thank you for posting query to us.

We can add toolBar to Usercontrol or a Panel. But we can not directly add a toolbar in XPMenu framework to a control. We can workaround this by adding a form having a toolbar to a usercontrol.

Please refer to the attached sample that illustrates the same:

Kindly let us know if you need any further assistance.

Thank you for using Syncfusion Products.

Best Regards,

Keshav Kamat
Replied On September 10, 2007 05:18 AM UTC

Thanx a lot Jeba.I was able to implement the menubar and toolbar using MainframeManager in a form n add it to a panel.However, i want to underline certain characters in the baritems when Alt key is pressed(cursor being anywhere over the mainform).Since i have added the menubars and toolbars to a panel and added the panel to a mainform I am unable to do so.can u suggest how i could go about implementing this?

Jeba S [Syncfusion]
Replied On September 11, 2007 08:14 AM UTC

Hi Keshav,

Thank you for your update.

The characters in the BarItems will show the Underline when Alt Key is pressed when they are present inside a Form. There is no way to implement the same behavior if the Menubar is placed inside a Form/Control which is not a TopLevel control.

Kindly let us know if you need any further assistance.

Best Regards,


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