Class Toolbar
Accordion visual element.
Implements
Inherited Members
VisualElement.ExecuteDefaultAction(EventBase)
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class Toolbar : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement
Constructors
Toolbar()
Constructor.
Declaration
public Toolbar()
Fields
containerUssClassName
The Toolbar's container USS class name.
Declaration
public static readonly string containerUssClassName
Field Value
Type | Description |
---|---|
string |
dragBarIndicatorUssClassName
The Toolbar's drag bar indicator USS class name.
Declaration
public static readonly string dragBarIndicatorUssClassName
Field Value
Type | Description |
---|---|
string |
dragBarUssClassName
The Toolbar's drag bar USS class name.
Declaration
public static readonly string dragBarUssClassName
Field Value
Type | Description |
---|---|
string |
draggableUssClassName
The Toolbar's draggable USS class name.
Declaration
public static readonly string draggableUssClassName
Field Value
Type | Description |
---|---|
string |
ussClassName
The Toolbar's USS class name.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
string |
variantUssClassName
The Toolbar's variant USS class name.
Declaration
public static readonly string variantUssClassName
Field Value
Type | Description |
---|---|
string |
Properties
contentContainer
The container of the Toolbar's content.
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Overrides
direction
The direction of the Toolbar.
Declaration
public Direction direction { get; set; }
Property Value
Type | Description |
---|---|
Direction |
dockMode
The dock mode of the Toolbar.
Declaration
public ToolbarDockMode dockMode { get; set; }
Property Value
Type | Description |
---|---|
ToolbarDockMode |
draggable
Whether the Toolbar is draggable.
Declaration
public bool draggable { get; set; }
Property Value
Type | Description |
---|---|
bool |