Class HeaderFoldout
UITK component to display header styled foldout
Inheritance
HeaderFoldout
Implements
Inherited Members
Foldout.focusable
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.TryGetBinding(BindingId, out Binding)
VisualElement.TryGetDataSourceContext(BindingId, out DataSourceContext)
VisualElement.TryGetLastBindingToUIResult(in BindingId, out BindingResult)
VisualElement.TryGetLastBindingToSourceResult(in BindingId, out BindingResult)
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallbackOnce<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.RegisterCallbackOnce<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
CallbackEventHandler.NotifyPropertyChanged(in BindingId)
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[UxmlElement]
public class HeaderFoldout : Foldout, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<bool>
Constructors
HeaderFoldout()
Constructor
Declaration
public HeaderFoldout()
Properties
contextMenuGenerator
Context menu to show on click of the context button. If null, button don't show.
Declaration
public Func<GenericMenu> contextMenuGenerator { get; set; }
Property Value
Type | Description |
---|---|
Func<GenericMenu> |
documentationURL
URL to use on documentation icon. If null, button don't show.
Declaration
public string documentationURL { get; set; }
Property Value
Type | Description |
---|---|
string |
icon
Optional icon image. If not set, no icon is shown.
Declaration
public Texture2D icon { get; set; }
Property Value
Type | Description |
---|---|
Texture2D |