Class HeaderToggleFoldout
UITK component to display header styled foldout. This variant have an enable checkbox.
Inheritance
HeaderToggleFoldout
Implements
INotifyValueChanged<bool>
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
public class HeaderToggleFoldout : HeaderFoldout, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<bool>
Constructors
HeaderToggleFoldout()
Constructor
Declaration
public HeaderToggleFoldout()
Properties
enableToggle
Quick access to the enable toggle if one need to register events
Declaration
public Toggle enableToggle { get; }
Property Value
Type | Description |
---|---|
Toggle |
enabled
Property to get the enablement state
Declaration
public bool enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
Implements
UnityEngine.UIElements.INotifyValueChanged<T>