# Javascript: ContextMenuItem.isEnabled Property

> Optional. Specifies whether the menu item is enabled or not. The default value is true.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 31.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: ContextMenuItem.isEnabled Property
- **172 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/contextmenuitem/isenabled-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/contextmenuitem/isenabled-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/contextmenuitem/isenabled-property/llms-full.txt

---

### Description

Optional. Specifies whether the menu item is enabled or not. The default value is true.

### Syntax

```javascript
<boolean> ContextMenuItem.isEnabled
```

### Examples

The following example demonstrates `ContextMenuItem.isEnabled` in a practical document-editing workflow. Optional. Specifies whether the menu item is enabled or not. The default value is true.

```javascript
function inspectIsEnabled(contextMenuItem) {
    const isEnabled = contextMenuItem.isEnabled;
    console.log("is enabled:", isEnabled);
}
```

---

## Nearby

- **Previous:** [Javascript: ContextMenuItem.isChecked Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/contextmenuitem/ischecked-property/llms-full.txt)
- **Next:** [Javascript: ContextMenuItem.items Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/contextmenuitem/items-property/llms-full.txt)
