# RibbonMenuButton Class

> The RibbonMenuButton class is a button control that displays a drop-down menu when clicked. It can be added to a RibbonGroup or to another RibbonMenuButton where it is stored as an item of the drop-down menu. The drop-down menu is opened below the button if the RibbonMenuButton is part of a RibbonGroup. RibbonMenuButtons inside a drop-down menu of another RibbonMenuButton opens their drop-down menu to the right of the button. Furthermore it is the base class of the RibbonSplitButton class. The RibbonMenuButton class is inherited from the RibbonButton class. The following describes only the properties, methods and events defined through the RibbonMenuButton class.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Inherits:** `System.Windows.Forms.Control` › `TXTextControl.Windows.Forms.Ribbon.RibbonButton`
- **Implements:** `System.ComponentModel.INotifyPropertyChanged`
- **Derived:** `TXTextControl.Windows.Forms.Ribbon.RibbonSplitButton`
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonMenuButton Class
- **1855 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/llms-full.txt

---

### Description

The RibbonMenuButton class is a button control that displays a [drop-down menu](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/dropdownitems-property/llms-full.txt) when clicked. It can be added to a [RibbonGroup](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbongroup/llms-full.txt) or to another RibbonMenuButton where it is stored as an item of the [drop-down menu](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/dropdownitems-property/llms-full.txt). The drop-down menu is opened below the button if the RibbonMenuButton is part of a [RibbonGroup](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbongroup/llms-full.txt). RibbonMenuButtons inside a drop-down menu of another RibbonMenuButton opens their drop-down menu to the right of the button. Furthermore it is the base class of the [RibbonSplitButton](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonsplitbutton/llms-full.txt) class. The RibbonMenuButton class is inherited from the [RibbonButton](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonbutton/llms-full.txt) class. The following describes only the properties, methods and events defined through the RibbonMenuButton class.

### Syntax

```csharp
public class RibbonMenuButton : RibbonButton
```

```vbnet
Public Class RibbonMenuButton
    Inherits RibbonButton
```

### Examples

The following example creates a Ribbon Menu Button instance and configures its description setting for a document workflow.

```csharp
using TXTextControl.Windows.Forms.Ribbon.RibbonMenuButton ribbonMenuButton = new();
ribbonMenuButton.Description = "Quarterly report";
```

```vbnet
Dim ribbonMenuButton As New TXTextControl.Windows.Forms.Ribbon.RibbonMenuButton()
ribbonMenuButton.Description = "Quarterly report"
```

---

## In This Section

- [RibbonMenuButton Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/constructor/llms-full.txt): Initializes a new instance of the RibbonMenuButton class.
- [RibbonMenuButton.DropDownClosed Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/dropdownclosed-event/llms-full.txt): Occurs as the RibbonMenuButton's drop-down menu is closed.
- [RibbonMenuButton.DropDownItems Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/dropdownitems-property/llms-full.txt): Gets the collection of controls in the drop-down menu that is associated with this RibbonMenuButton. These controls can be objects of type RibbonButton, RibbonComboBox, RibbonLabel, RibbonListView, RibbonTextBox or RibbonSeperator.
- [RibbonMenuButton.DropDownOpening Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/dropdownopening-event/llms-full.txt): Occurs as the RibbonMenuButton's drop-down menu is opening.

---

## Nearby

- **Previous:** [RibbonListView.ViewMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/viewmode-property/llms-full.txt)
- **Next:** [RibbonMenuButton Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/constructor/llms-full.txt)
