Class Divider
Divider UI 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 Divider : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement
Constructors
Divider()
Default constructor.
Declaration
public Divider()
Fields
contentUssClassName
The Divider content styling class.
Declaration
public static readonly string contentUssClassName
Field Value
Type | Description |
---|---|
string |
sizeUssClassName
The Divider size styling class.
Declaration
public static readonly string sizeUssClassName
Field Value
Type | Description |
---|---|
string |
spacingUssClassName
The Divider spacing styling class.
Declaration
public static readonly string spacingUssClassName
Field Value
Type | Description |
---|---|
string |
ussClassName
The Divider main styling class.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
string |
verticalUssClassName
The Divider vertical mode styling class.
Declaration
public static readonly string verticalUssClassName
Field Value
Type | Description |
---|---|
string |
Properties
contentContainer
The content container of the Divider. This is always null.
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Overrides
direction
The orientation of the Divider.
Declaration
public Direction direction { get; set; }
Property Value
Type | Description |
---|---|
Direction |
size
The size of the Divider.
Declaration
public Size size { get; set; }
Property Value
Type | Description |
---|---|
Size |
spacing
The spacing of the Divider.
Declaration
public Spacing spacing { get; set; }
Property Value
Type | Description |
---|---|
Spacing |