Class ToolbarButton
A button for the toolbar.
Inheritance
ToolbarButton
Inherited Members
Namespace: UnityEditor.UIElements
Syntax
public class ToolbarButton : Button, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IBindable, ITextElement, INotifyValueChanged<string>
Constructors
ToolbarButton()
Constructor.
Declaration
public ToolbarButton()
ToolbarButton(Action)
Constructor.
Declaration
public ToolbarButton(Action clickEvent)
Parameters
Type | Name | Description |
---|---|---|
Action | clickEvent | The action to be called when the button is pressed. |
Fields
ussClassName
USS class name of elements of this type.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
String |