- I want the context menu "customize" for toolbar
- I want to be able to dock toobar at left, right, top or bottom of my main form.
- I want to add menu
Which toolbar manager do I have to use?
(CommandBarController, DockingManager, MainFrameBarManager, XPToolBar)
ADAdministrator Syncfusion Team February 22, 2005 10:45 AM
Our XPMenus package (MainFrameBarManager) provides all of the features you require. Please refer to the XPMenusSDI sample in our sample browser. It demonstrates these features.
MBMartin BonnevilleFebruary 22, 2005 03:36 PM
I don''t see how I can dock toobar at left, right, top or bottom of my main form at runtime with MainFrameBarManager.
How I can ?
ADAdministrator Syncfusion Team February 22, 2005 04:31 PM
You can use MainFrameBarManager.GetBarControl to obtain direct access to the CommandBar control. You can then relocate it, dock it, etc. programmatically.
For example, to dock a bar to the left side of the form you would use the following line of code:
this.mainFrameBarManager1.GetBarControl(this.bar1).DockState = Syncfusion.Windows.Forms.Tools.CommandBarDockState.Left;