# AddDisabledItem(string, bool)

> Adds a disabled item to this menu.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public abstract void AddDisabledItem(string itemName, bool isChecked)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The text to display to the user.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Indicates whether a checkmark next to the item is displayed.
