Class AccordionLayout
Basic accordion UI component. Sets the height of the Target Mask between this layout element and +Content height
Inherited Members
UnityEngine.UI.Selectable.OnValidate()
UnityEngine.UI.Selectable.Reset()
UnityEngine.UI.Selectable.animator
Namespace: UnityEngine.Industrial.Configuring.RuntimeUI
Syntax
[ExecuteInEditMode]
public class AccordionLayout : Selectable, IMoveHandler, IPointerDownHandler, IPointerUpHandler, IPointerEnterHandler, IPointerExitHandler, ISelectHandler, IDeselectHandler, IExpandable, IPointerClickHandler, IEventSystemHandler
Properties
IsExpanded
Gets a value indicating whether this instance is expanded.
Declaration
public bool IsExpanded { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
Implements
Methods
Expand(Boolean)
Expands the specified expand.
Declaration
public void Expand(bool expand)
Parameters
Type | Name | Description |
---|---|---|
Boolean | expand | if set to |
Implements
OnPointerClick(PointerEventData)
Called when [pointer click].
Declaration
public void OnPointerClick(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData | The event data. |
Implements
Refresh()
Refreshes this instance.
Declaration
public void Refresh()
Implements
Start()
Starts this instance.
Declaration
protected override void Start()
Overrides
Events
OnExpanded
Occurs when [on expanded].
Declaration
public event EventHandler<AccordionLayoutChangedEventArgs> OnExpanded
Event Type
Type | Description |
---|---|
EventHandler<AccordionLayoutChangedEventArgs> |