# Customize the overflow button

This article will demonstrate how to access the **Overflow** button in **RadCommandBar** and how to customize its items.

![WinForms RadCommandBar Customize the Overflow Button](https://www.telerik.com/products/winforms/documentation/assets/569f470b4c96fa2f88f766b561cd7efb/commandbar-howto-customize-the-overflow-button001.png)

Each [CommandBarStripElement](https://www.telerik.com/products/winforms/documentation/controls/commandbar/structure) has its own **Overflow** button. This button has a drop down, which contains of **"Add or Remove Buttons"** menu item, **"Customize..."** menu item and  **RadMenuSeparatorItems** items. Additionally, if there is not enough space on the control to fit all the items, they will be displayed in the drop down menu as well.

![WinForms RadCommandBar Smart Tag Customize CommandBarStripElement](https://www.telerik.com/products/winforms/documentation/assets/cd8f4243b3fee36d6b91cbc65fb3e8b9/commandbar-howto-customize-the-overflow-button002.png)

The following example, demonstrates how to access the **RadMenuItems** of the **Overflow** button. For your convenience we have exposed the **CustomizeButtonMenuItem** and the **AddRemoveButtonsMenuItem**.

```C#
//Change the font of the AddRemoveButtonMenuItem
radCommandBarStripElement1.OverflowButton.AddRemoveButtonsMenuItem.Font = new System.Drawing.Font("Arial", 12f);

//Change the font of the CustomizeButtonMenuItem
radCommandBarStripElement1.OverflowButton.CustomizeButtonMenuItem.Font = new System.Drawing.Font("Segoe UI", 10f, FontStyle.Bold);

//hide the separators
foreach (var item in radCommandBarStripElement1.OverflowButton.DropDownMenu.Items)
{
    RadMenuSeparatorItem separator = item as RadMenuSeparatorItem;
    if (separator != null)
    {
        separator.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
    }
}
```

```VB.NET
'Change the font of the AddRemoveButtonMenuItem
CommandBarStripElement1.OverflowButton.AddRemoveButtonsMenuItem.Font = New System.Drawing.Font("Arial", 12.0F)

'Change the font of the CustomizeButtonMenuItem
CommandBarStripElement1.OverflowButton.CustomizeButtonMenuItem.Font = New System.Drawing.Font("Segoe UI", 10.0F, FontStyle.Bold)

'hide the separators
For Each item In CommandBarStripElement1.OverflowButton.DropDownMenu.Items
    Dim separator As RadMenuSeparatorItem = TryCast(item, RadMenuSeparatorItem)
    If separator IsNot Nothing Then
        separator.Visibility = Telerik.WinControls.ElementVisibility.Collapsed
    End If
Next
```

![WinForms RadCommandBar Customize the Overflow Button Result](https://www.telerik.com/products/winforms/documentation/assets/f2922fce4fed20f123b044cf525e185b/commandbar-howto-customize-the-overflow-button003.png)

Alternatively, if you need to hide the whole **Overflow** button, simply set its Visibility property to *Collapsed*

```C#
radCommandBarStripElement1.OverflowButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
```

```VB.NET
CommandBarStripElement1.OverflowButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed
```

![WinForms RadCommandBar Customize the Overflow Button Hide](https://www.telerik.com/products/winforms/documentation/assets/6eb2546b0865c82d030de2480e79ad9a/commandbar-howto-customize-the-overflow-button004.png)
