Foldout
class in UnityEngine.UIElements · UnityEngine.UIElementsModule · inherits from BindableElement
In Tassix
A toggle that shows or hides its content: children go into the content container, which hides while the value is false. The foldout sends its own ChangeEvent (the toggle's stops at it), and its class says how many foldouts it's nested in.
Constructors 1
Foldout()Fields 9
static readonly string checkmarkUssClassNamestatic readonly string contentUssClassNamestatic readonly string inputUssClassNamestatic readonly BindingId textPropertystatic readonly string textUssClassNamestatic readonly BindingId toggleOnLabelClickPropertystatic readonly string toggleUssClassNamestatic readonly string ussClassNamestatic readonly BindingId valuePropertyProperties 4
VisualElement contentContainer { get; }string text { get; set; }bool toggleOnLabelClick { get; set; }bool value { get; set; }Methods 1
void SetValueWithoutNotify(bool newValue)Checked against Unity
Conformance scenarios that exercise it, recorded in Unity and compared event by event.