# MenuItem.Enabled Property

> Gets a value indicating whether the menu item is enabled.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.ServerVisualisation`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.ServerVisualization > MenuItem.Enabled Property
- **345 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/menuitem/enabled-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/menuitem/enabled-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/menuitem/enabled-property/llms-full.txt

---

### Description

Gets a value indicating whether the menu item is enabled.

### Syntax

```csharp
public bool Enabled { get; set; }
```

```vbnet
Public Property Enabled As Boolean
```

### Examples

The following example uses `MenuItem.Enabled` to configure enabled as part of the menu item workflow. The configured value is checked before the workflow continues.

```csharp
menuItem.Enabled = true;
if (menuItem.Enabled)
{
    Console.WriteLine("Menu Item: Enabled is enabled.");
}
```

```vbnet
menuItem.Enabled = True
If menuItem.Enabled Then
    Console.WriteLine("Menu Item: Enabled is enabled.")
End If
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [MenuItem.Checked Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/menuitem/checked-property/llms-full.txt)
- **Next:** [MenuItem.Execute Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/menuitem/execute-method/llms-full.txt)
