# Adding Separator Bar

## Content



ComponentOne Menu for WPF allows you to add a separator bar between two menu items that allows you to separate items in menus. In Menu for WPF, separators are represented by the [C1MenuSeparator](/componentone/api/wpf/online-menu5/dotnet-api/C1.WPF.Menu/C1.WPF.Menu.C1MenuSeparator.html) class. To add a separator bar to a menu, use **<c1:C1MenuSeparator />** between two **<c1:C1MenuItem>** tags in XAML:

```xml
<c1:C1MenuItem Header="File" />
    <c1:C1MenuSeparator/>
<c1:C1MenuItem Header="Options" />
```