Class DropdownItem
Dropdown item UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public class DropdownItem : BaseVisualElement, IEventHandler, IVisualElementScheduler, IExperimentalFeatures, ITransitionAnimations, ITransform, IResolvedStyle, IContextOverrideElement, IAdditionalDataHolder
Constructors
DropdownItem()
Constructor.
Declaration
public DropdownItem()
Fields
checkmarkUssClassName
The Dropdown item checkmark styling class.
Declaration
public const string checkmarkUssClassName = "appui-dropdown-item__checkmark"
Field Value
Type | Description |
---|---|
string |
iconUssClassName
The Dropdown item icon styling class.
Declaration
public const string iconUssClassName = "appui-dropdown-item__icon"
Field Value
Type | Description |
---|---|
string |
labelUssClassName
The Dropdown item label styling class.
Declaration
public const string labelUssClassName = "appui-dropdown-item__label"
Field Value
Type | Description |
---|---|
string |
ussClassName
The Dropdown item main styling class.
Declaration
public const string ussClassName = "appui-dropdown-item"
Field Value
Type | Description |
---|---|
string |
Properties
icon
The Dropdown item icon.
Declaration
public string icon { get; set; }
Property Value
Type | Description |
---|---|
string |
label
The Dropdown label text.
Declaration
public string label { get; set; }
Property Value
Type | Description |
---|---|
string |
labelElement
The Dropdown item label.
Declaration
public LocalizedTextElement labelElement { get; }
Property Value
Type | Description |
---|---|
Localized |