Enum MenuItemVariant
The visual variant of a MenuItem.
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public enum MenuItemVariant
Remarks
The variants mirror the App UI web design system one-for-one, so a menu row authored in UI Toolkit and the same row authored on the web carry the same name and the same emphasis.
Fields
| Name | Description |
|---|---|
| Default | The standard menu row, using the neutral control foreground. |
| Destructive | A row for an action with irreversible consequences, such as deleting data. It is tinted with the semantic destructive colour, label, icon and all. |