GS
Githanjali S
Syncfusion Team
December 18, 2009 12:41 PM UTC
Hi Truman,
Please follow the below steps:
// Get the CommandBarExt object associated with the Bar
CommandBarExt cmdBarExt = this.mainFrameBarManager1.GetBarControl(this.bar2) as CommandBarExt;
// Get the CommandbarExt's parent CommandDockBar
CommandDockBar cmdDockBar = cmdBarExt.Parent as CommandDockBar;
// Set the CommandDockBar's desired position
cmdDockBar.Location = new Point(0,0);
cmdBarExt.DockState = CommandBarDockState.Float;
Let me know if this works for you.
Regards,
Githanjali