Class AccordionItem
Item used inside an Accordion element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class AccordionItem : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, INotifyValueChanged<bool>
Constructors
Name | Description |
---|---|
AccordionItem() | Default constructor. |
Fields
Name | Description |
---|---|
contentUssClassName | The AccordionItem content styling class. |
headerTextUssClassName | The AccordionItem headertext styling class. |
headerUssClassName | The AccordionItem header styling class. |
headingUssClassName | The AccordionItem heading styling class. |
indicatorUssClassName | The AccordionItem indicator styling class. |
ussClassName | The AccordionItem main styling class. |
Properties
Name | Description |
---|---|
contentContainer | The content container of the AccordionItem. |
title | The title of the AccordionItem. |
value | The value of the item, which represents its open state. |
Methods
Name | Description |
---|---|
SetValueWithoutNotify(bool) | Set the open state of the item without triggering any event. |