ComponentOne Menus and Toolbars for WinForms
Menus and Toolbars for WinForms Task-Based Help / DockingTab Tasks / Pinning the DockingTab
In This Topic
    Pinning the DockingTab
    In This Topic

    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