# Using Vertical Text for Collapsed Panels

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

## Content



You can force the [C1NavBar](/componentone/docs/win/online-menus-toolbar/) control to display vertical text when a panel is collapsed. The vertical text that appears is determined by the **NavBarCollapsedBarText** UIString. To utilize this feature, you will also need to set the [ShowVerticalTextOnCollapse](/componentone/docs/win/online-menus-toolbar/) property to **True**.

Complete the following steps:

1.  Right-click the [C1NavBar](/componentone/docs/win/online-menus-toolbar/) control to open its context menu and then select Properties. The Properties window opens.
2.  In the Properties window, complete the following:
    *   Set the [AllowCollapse](/componentone/docs/win/online-menus-toolbar/) property to **True**. This will allow you to collapse the control at run time so you can see the vertical text on a collapsed panel.
    *   Set the [ShowVerticalTextOnCollapse](/componentone/docs/win/online-menus-toolbar/) property to **True**.
    *   Set the **UIStrings.NavBarCollapsedBarText** enumeration to a string by expanding the [UIStrings](/componentone/docs/win/online-menus-toolbar/) node and entering text into the **NavBarCollapsedBarText** text box.
3.  Press F5 to run the project.

### This topic illustrates the following:

While the project is running, click the expand/collapse button to collapse the control. The text on the collapsed panel will resemble the following:

![Collapsed panel](https://cdn.mescius.io/document-site-files/images/a27cb622-e6d9-4efc-a0b0-0c31245fd632/imagesext/image10_55.png)

## See Also

[OutBar Tasks](/componentone/docs/win/online-menus-toolbar/menusandtoolbarsforw2/outbartasks)