[]
To make a C1ToolBar dockable by using the C1CommandDock class, complete the following steps:
type=note
Note: This topic assumes you have a C1ToolBar created in code.
Create a new C1CommandDock and call it dock.
To write code in Visual Basic
Dim dock As New C1CommandDock()
To write code in C#
C1CommandDock dock = new C1ComandDock();
Add the C1CommandDock to your control so it will appear on the form.
To write code in Visual Basic
Me.Controls.Add(dock)
To write code in C#
this.Controls.Add(dock);