Class Accordion
Accordion UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public class Accordion : BaseVisualElement, IEventHandler, IVisualElementScheduler, IExperimentalFeatures, ITransitionAnimations, ITransform, IResolvedStyle, IContextOverrideElement, IAdditionalDataHolder
Constructors
Accordion()
Default constructor.
Declaration
public Accordion()
Fields
ussClassName
The Accordion main styling class.
Declaration
public const string ussClassName = "appui-accordion"
Field Value
Type | Description |
---|---|
string |
Properties
isExclusive
The behavior of the Accordion when multiple items are open.
Declaration
[Tooltip("If true, a maximum of one item can be open at a time.")]
public bool isExclusive { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
If true, a maximum of one item can be open at a time.