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: Unity.AppUI.dll
Syntax
public class DrawerHeader : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement, IAdditionalDataHolder
Constructors
DrawerHeader()
Default constructor.
Declaration
public DrawerHeader()
Fields
containerUssClassName
The DrawerHeader's container USS class name.
Declaration
public const string containerUssClassName = "appui-drawer-header__container"
Field Value
Type | Description |
---|---|
string |
titleUssClassName
The DrawerHeader's title USS class name.
Declaration
public const string titleUssClassName = "appui-drawer-header__title"
Field Value
Type | Description |
---|---|
string |
ussClassName
The DrawerHeader's USS class name.
Declaration
public const string ussClassName = "appui-drawer-header"
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 |