# MenuItems()

> Gets the list of menu items.

## Definition

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

```csharp
public List<DropdownMenuItem> MenuItems()
```

### Returns

| Type                                                                                                | Description                    |
| --------------------------------------------------------------------------------------------------- | ------------------------------ |
| [List\<DropdownMenuItem>](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1) | The list of items in the menu. |
