# Toggle Button

## Content

The toggle button is the hamburger button that users select to expand or collapse the menu. You can customize its appearance, or hide it when your app expands and collapses the menu in another way.
![C1WinForms Hamburger Menu - Toggle button demo](https://cdn.mescius.io/document-site-files/images/cba1bceb-04d5-4184-987c-6bf624f0bae2/toggle-20261016.bf20f1.gif?width=200)

***

## Customize the Toggle Button

The [ToggleButton](/componentone/api/win/online-hamburger-menu/dotnet-api/C1.Win.Command.HamburgerMenu.10/C1.Win.Command.HamburgerMenu.C1HamburgerMenu.ToggleButton.html) property provides access to the button. Use it to configure the button’s [Icon](/componentone/api/win/online-hamburger-menu/dotnet-api/C1.Win.Command.HamburgerMenu.10/C1.Win.Command.HamburgerMenu.C1HamburgerMenuItem.Icon.html), [Text](/componentone/api/win/online-hamburger-menu/dotnet-api/C1.Win.Command.HamburgerMenu.10/C1.Win.Command.HamburgerMenu.C1HamburgerMenuItem.Text.html), and [ToolTipText](/componentone/api/win/online-hamburger-menu/dotnet-api/C1.Win.Command.HamburgerMenu.10/C1.Win.Command.HamburgerMenu.C1HamburgerMenuItem.ToolTipText.html).
The following example sets the tooltip of the toggle button:

```csharp
c1HamburgerMenu1.ToggleButton.ToolTipText = "Show or hide navigation";
```

***

## Hide the Toggle Button

If your app expands and collapses the menu through a separate command, set the button’s [Visible](/componentone/api/win/online-hamburger-menu/dotnet-api/C1.Win.Command.HamburgerMenu.10/C1.Win.Command.HamburgerMenu.C1HamburgerMenuItem.Visible.html) property to `false`:

```csharp
c1HamburgerMenu1.ToggleButton.Visible = false;
```

To expand or collapse the menu from your own command, set the [IsExpanded](/componentone/api/win/online-hamburger-menu/dotnet-api/C1.Win.Command.HamburgerMenu.10/C1.Win.Command.HamburgerMenu.C1HamburgerMenu.IsExpanded.html) property. For more information, see [Run-Time Customization](/componentone/docs/win/online-hamburger-menu/features/run-time-customization).