# MenuItem.Checked Property

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

- **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.Checked Property
- **345 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/menuitem/checked-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/menuitem/checked-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/menuitem/checked-property/llms-full.txt

---

### Description

Gets a value indicating whether the menu item is checked.

### Syntax

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

```vbnet
Public Property Checked As Boolean
```

### Examples

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

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

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

### Limitations

Read only.

---

## Nearby

- **Previous:** [MenuItem Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/menuitem/llms-full.txt)
- **Next:** [MenuItem.Enabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/menuitem/enabled-property/llms-full.txt)
