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
close icon

DropDownItem menu

I added Syncfusion...XPMenus.XPToolBar control in my form and wanted to add DropDownItem like MVS DropDownItem. I mean I want to have BarItems in my DropDownItem. How can I do it? Can you tell me, please?


2 Replies

JS Jeba S Syncfusion Team January 24, 2008 06:44 AM UTC

Hi Belarus,

A DropDownBarItem is a BarItem that gets drawn with an arrow button to its right, which when clicked, will pop up a window (note: not a menu) represented by a PopupControlContainer. So it is not possible to have another BarItems in DropDownBarItem.

Please refer the Online documentation for more details:
http://www2.syncfusion.com/ug_61/toolswin/default.html

Under Tools.Windows
Overview-->Controls-->Menus package---->Concepts and Features----->XP Menu Bars--->Bar Items-->Types of BarItems-->DropDownBarItem

Kindly let us know if you need any further assistance.

Best Regards,
Jeba.




JS Jeba S Syncfusion Team January 30, 2008 05:48 AM UTC

Hi Belarus,

Thank you for your interest in Syncfusion Products.

As a workaround, you can use the ParentBarItem and set its ParentStyle as 'Dropdown'. This will look like a DropDownBarItem and we can add BarItems in it. Also keep the IsMainMenu unchecked in the BarStyle for the bar.

Kindly look into the sample and let us know if this helps.
http://websamples.syncfusion.com/samples/Tools.Windows/F71060/main.htm

Please refer the documentation link for more details:
http://www2.syncfusion.com/ug_61/toolswin/ParentBarItem.html#ParentStyle

Best Regards,
Jeba.


Loader.
Live Chat Icon For mobile
Up arrow icon