Class Spacer
Spacer 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 Spacer : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement
Constructors
Spacer()
Main constructor.
Declaration
public Spacer()
Fields
spacingUssClassName
The spacer's spacing USS class name.
Declaration
public static readonly string spacingUssClassName
Field Value
Type | Description |
---|---|
string |
ussClassName
The spacer's main USS class name.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
string |
Properties
spacing
The spacer's spacing.
Declaration
public SpacerSpacing spacing { get; set; }
Property Value
Type | Description |
---|---|
SpacerSpacing |