# AdvancedDropdownItem

> Items that build the drop-down list.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.5/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor.CoreModule
* **Implements:** [IComparable](https://learn.microsoft.com/dotnet/api/system.icomparable)

```csharp
public class AdvancedDropdownItem : IComparable
```

## Properties

| Property                                                                                                  | Description                                                      |
| --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| [childList](/engine/6000.5/script-reference/unityeditor/imgui/controls/advanceddropdownitem/childlist.md) | The list of child items of this item.                            |
| [enabled](/engine/6000.5/script-reference/unityeditor/imgui/controls/advanceddropdownitem/enabled.md)     | True if the item is enabled.                                     |
| [icon](/engine/6000.5/script-reference/unityeditor/imgui/controls/advanceddropdownitem/icon.md)           | If set, this icon will be rendered to the left of the item name. |
| [id](/engine/6000.5/script-reference/unityeditor/imgui/controls/advanceddropdownitem/id.md)               | The unique identifier for an item.                               |
| [name](/engine/6000.5/script-reference/unityeditor/imgui/controls/advanceddropdownitem/name.md)           | Name shown for this item when rendered.                          |

## Methods

| Method                                                                                                          | Description                                                     |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| [AddChild](/engine/6000.5/script-reference/unityeditor/imgui/controls/advanceddropdownitem/addchild.md)         | Adds the given AdvancedDropdownItem child to the children list. |
| [AddSeparator](/engine/6000.5/script-reference/unityeditor/imgui/controls/advanceddropdownitem/addseparator.md) | Adds a separator to the list of children in the drop-down.      |
