Custom Control in the toolbar.

Hi,

I'm using

Syncfusion.Windows.Forms.Tools.XPMenus.Bar

type and want to insert my custom UserControl within.

Is it possible to insert some UserControl as a BarItem in the toolbar?

Thank You!


1 Reply

AD Administrator Syncfusion Team April 3, 2008 01:20 AM UTC

Hi Dimitar,

Sorry for the inconvenience caused. Currently we don't add the controls on the XPMenus.Bar. As a work around you can use the XPToolBar instead. Please use the following code snippet to add the user control to the XpToolBar.

this.xpToolBar1.Controls.Add(userControl);

Please let me know if this helps.

Thanks,
Nagaraj



Loader.
Up arrow icon