ComponentOne Menus and Toolbars for WinForms
Changing the Position of the Toolbar from Horizontal to Vertical
Menus and Toolbars for WinForms Task-Based Help > ToolBar Tasks > Changing the Position of the Toolbar from Horizontal to Vertical

To change the position of the toolbars from horizontal to vertical, use the Horizontal property. To do this, complete the following steps:

  1. Create a toolbar.

  2. Use the following code to make the toolbar appear vertical:

    To write code in Visual Basic

    Visual Basic
    Copy Code
    toolbar.Horizontal = False
    

    To write code in C#

    C#
    Copy Code
    toolbar.Horizontal = False;
    
See Also