Class ToolbarMenuElementExtensions
An extension class that handles menu management for elements that are implemented with the IToolbarMenuElement interface, but are identical to DropdownMenu.
Namespace: UnityEditor.UIElements
Syntax
public static class ToolbarMenuElementExtensions : object
Methods
ShowMenu(IToolbarMenuElement)
Display the menu for the element.
Declaration
public static void ShowMenu(this IToolbarMenuElement tbe)
Parameters
Type | Name | Description |
---|---|---|
IToolbarMenuElement | tbe | The element that is part of the menu to be displayed. |