# MenuItemClickedEventArgs.MenuItem Property

> Gets the clicked MenuItem.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.SDK` (assembly `TXSpell.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.Windows.Forms.dll` from the setup
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > MenuItemClickedEventArgs.MenuItem Property
- **303 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/menuitemclickedeventargs/menuitem-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/menuitemclickedeventargs/menuitem-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/menuitemclickedeventargs/menuitem-property/llms-full.txt

---

### Description

Gets the clicked [MenuItem](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/menuitem/llms-full.txt).

### Syntax

```csharp
public MenuItem MenuItem { get; }
```

```vbnet
Public ReadOnly Property MenuItem As MenuItem
```

### Examples

The following example includes the menu item value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Menu Item: {menuItemClickedEventArgs.MenuItem}");
Console.WriteLine("Menu Item Clicked Event Args is ready for use.");
```

```vbnet
Console.WriteLine($"Menu Item: {menuItemClickedEventArgs.MenuItem}")
Console.WriteLine("Menu Item Clicked Event Args is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [MenuItemClickedEventArgs Class](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/menuitemclickedeventargs/llms-full.txt)
- **Next:** [MisspelledWordChangingEventArgs Class](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/misspelledwordchangingeventargs/llms-full.txt)
