ComponentOne Menus and Toolbars for WinForms
Pinning the DockingTab
Menus and Toolbars for WinForms Task-Based Help > DockingTab Tasks > Pinning the DockingTab

To pin the C1DockingTab programmatically, set the AutoHiding property of the C1DockingTab to False. Use the following code:

To write code in Visual Basic

Visual Basic
Copy Code
Me.C1DockingTab1.AutoHiding = False

To write code in C#

C#
Copy Code
this.C1DockingTab1.AutoHiding = False;
Note: To correctly pin and unpin the C1DockingTab, it must be placed in a C1CommandDock control.
See Also