Class DrawerHeader
A drawer header 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 DrawerHeader : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement
Constructors
DrawerHeader()
Default constructor.
Declaration
public DrawerHeader()
Fields
containerUssClassName
The DrawerHeader's container USS class name.
Declaration
public static readonly string containerUssClassName
Field Value
Type | Description |
---|---|
string |
titleUssClassName
The DrawerHeader's title USS class name.
Declaration
public static readonly string titleUssClassName
Field Value
Type | Description |
---|---|
string |
ussClassName
The DrawerHeader's USS class name.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
string |
Properties
contentContainer
Child elements are added to this element.
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Overrides
title
The DrawerHeader's title.
Declaration
public string title { get; set; }
Property Value
Type | Description |
---|---|
string |