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

Inserting BarItems programatically

Thread ID:





23535 Jan 13,2005 03:12 PM Jan 14,2005 03:04 PM Windows Forms 1
Tags: Tools
Asked On January 13, 2005 03:12 PM

All, I''m adding BarItems to a ParentBarItem in code, but would like them to appear in reverse order; i.e., "pushed down" not added to the bottom, stack-like. Using standard Windows.Forms, you could specify an index when adding a MenuItem to its parent, in this case 0 so the newest would always be on top. How can I accomplish the same affect using ParentBarItems and BarItems?

Administrator [Syncfusion]
Replied On January 14, 2005 03:04 PM

Hi Keith, I am afraid, the BarItems in XPMenus framework do not have a .NET MenuItem.Index like property. The order in which you add the BarItems to the ParentBarItem or the Bar determines the order in which they appear at runtime. However,we could consider this as a feature request for a future release of Essential Suite. We appreciate your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.


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.

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.