Class SplitViewPaneCollapsedEvent
Event for when the pane of a SplitView is collapsed or expanded.
Implements
Inherited Members
EventBase<SplitViewPaneCollapsedEvent>.TypeId()
EventBase<SplitViewPaneCollapsedEvent>.GetPooled()
EventBase<SplitViewPaneCollapsedEvent>.Dispose()
EventBase<SplitViewPaneCollapsedEvent>.eventTypeId
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public class SplitViewPaneCollapsedEvent : EventBase<SplitViewPaneCollapsedEvent>, IDisposable
Constructors
SplitViewPaneCollapsedEvent()
Default constructor.
Declaration
public SplitViewPaneCollapsedEvent()
Properties
collapsed
Whether the pane is collapsed or expanded.
True if the pane is collapsed, false if it is expanded.
Declaration
public bool collapsed { get; }
Property Value
Type | Description |
---|---|
bool |
index
The index of the pane that was collapsed or expanded.
Declaration
public int index { get; }
Property Value
Type | Description |
---|---|
int |
Methods
Init()
Resets all event members to their initial values.
Declaration
protected override void Init()
Overrides
UnityEngine.UIElements.EventBase<Unity.AppUI.UI.SplitViewPaneCollapsedEvent>.Init()