# Changing the Position of the Toolbar from Horizontal to Vertical

Get started with Menus and Toolbars for WinForms. Create versatile menus and docking/floating toolbars. See more in documentation here.

## Content



To change the position of the toolbars from horizontal to vertical, use the [Horizontal](/componentone/docs/win/online-menus-toolbar/) property. To do this, complete the following steps:

1.  Create a toolbar.
    
2.  Use the following code to make the toolbar appear vertical:
    
    DOC-DETAILS-TAG-OPEN
    
    DOC-SUMMARY-TAG-OPEN
    
    To write code in Visual Basic
    
    DOC-SUMMARY-TAG-CLOSE
    
    ```vbnet
    toolbar.Horizontal = False
    ```
    
    DOC-DETAILS-TAG-CLOSE
    
    DOC-DETAILS-TAG-OPEN
    
    DOC-SUMMARY-TAG-OPEN
    
    To write code in C#
    
    DOC-SUMMARY-TAG-CLOSE
    
    ```csharp
    toolbar.Horizontal = False;
    ```
    
    DOC-DETAILS-TAG-CLOSE
    

## See Also

[Creating a Toolbar](/componentone/docs/win/online-menus-toolbar/menusandtoolbarsforw2/toolbartasks/creatingatoolbar)