# AdvancedDropdownItem

> Items that build the drop-down list.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.6/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.6/script-reference/unityeditor/imgui/controls/advanceddropdownitem/childlist.md) | The list of child items of this item.                            |
| [enabled](/engine/6000.6/script-reference/unityeditor/imgui/controls/advanceddropdownitem/enabled.md)     | True if the item is enabled.                                     |
| [icon](/engine/6000.6/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.6/script-reference/unityeditor/imgui/controls/advanceddropdownitem/id.md)               | The unique identifier for an item.                               |
| [name](/engine/6000.6/script-reference/unityeditor/imgui/controls/advanceddropdownitem/name.md)           | Name shown for this item when rendered.                          |

## Methods

| Method                                                                                                          | Description                                                                                                                                                                                                                                                                                                                                                                      |
| --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AddChild](/engine/6000.6/script-reference/unityeditor/imgui/controls/advanceddropdownitem/addchild.md)         | Adds the given AdvancedDropdownItem child to the children list. The child's ID will be computed based on the parent's ID and the child's name to ensure uniqueness. If you wish to use a custom ID, assign the [AdvancedDropdownItem.id](/engine/6000.6/script-reference/unityeditor/imgui/controls/advanceddropdownitem/id.md) property on the child after calling this method. |
| [AddSeparator](/engine/6000.6/script-reference/unityeditor/imgui/controls/advanceddropdownitem/addseparator.md) | Adds a separator to the list of children in the drop-down.                                                                                                                                                                                                                                                                                                                       |
