[]
        
(Showing Draft Content)

Specifying a Docking/Floating Position

This topic demonstrates how to specify a position for your C1CommandDock in code.

To dock your toolbar to the top, enter the following code:

To write code in Visual Basic

dock.Dock = DockStyle.Top

To write code in C#

dock.Dock = DockStyle.Top;

type=note

Note: If you want to dock your toolbar to the bottom, left, or right, change the Top parameter to its desired position: Bottom, Left or Right.

See Also

Turning on the Customization Feature