# Create a Menu Button with RadContextMenu and ToggleButton

## Environment

<table>
<tbody>
<tr>
<th scope="row">Product Version</th>
<td>2026.1.415</td>
</tr>
<tr>
<th scope="row">Product</th>
<td>RadContextMenu for WPF</td>
</tr>
</tbody>
</table>

## Description

Create a drop-down menu button that displays additional options when the user clicks a ToggleButton.

## Solution

Attach a RadContextMenu to the ToggleButton and bind the ToggleButton.IsChecked property to the RadContextMenu.IsOpen property.

1. Define the ToggleButton and attach the RadContextMenu.

**Define the ToggleButton and RadContextMenu**

```XAML
<ToggleButton xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
              Content="Click me"
              HorizontalAlignment="Left"
              IsChecked="{Binding IsOpen, ElementName=radContextMenu, Mode=TwoWay}">
    <telerik:RadContextMenu.ContextMenu>
        <telerik:RadContextMenu x:Name="radContextMenu" Placement="Bottom">
            <telerik:RadMenuItem Header="Item 1" />
            <telerik:RadMenuItem Header="Item 2" />
            <telerik:RadMenuItem Header="Item 3" />
        </telerik:RadContextMenu>
    </telerik:RadContextMenu.ContextMenu>
</ToggleButton>
```

The `IsChecked` binding keeps the ToggleButton state synchronized with the RadContextMenu.IsOpen property.

> caption RadContextMenu menu button

![WPF RadContextMenu menu button](https://www.telerik.com/products/wpf/documentation/assets/121588f4fd1eab3857bd0fd16c9c8075/kb-contextmenu-create-menu-button-with-togglebutton.png)

## See Also

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radcontextmenu/getting-started)
* [Menu Placement](https://www.telerik.com/products/wpf/documentation/controls/radcontextmenu/placement)
* [RadContextMenu Overview](https://www.telerik.com/products/wpf/documentation/controls/radcontextmenu/overview)
