docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SplitViewSplitterCountChangedEvent

    Event sent when the number of splitters in a SplitView changes.

    Inheritance
    object
    EventBase
    EventBase<SplitViewSplitterCountChangedEvent>
    SplitViewSplitterCountChangedEvent
    Implements
    IDisposable
    Inherited Members
    EventBase<SplitViewSplitterCountChangedEvent>.TypeId()
    EventBase<SplitViewSplitterCountChangedEvent>.GetPooled()
    EventBase<SplitViewSplitterCountChangedEvent>.Dispose()
    EventBase<SplitViewSplitterCountChangedEvent>.eventTypeId
    EventBase.RegisterEventType()
    EventBase.PreDispatch()
    EventBase.PreDispatch(IPanel)
    EventBase.PostDispatch()
    EventBase.PostDispatch(IPanel)
    EventBase.StopPropagation()
    EventBase.StopImmediatePropagation()
    EventBase.PreventDefault()
    EventBase.timestamp
    EventBase.bubbles
    EventBase.tricklesDown
    EventBase.target
    EventBase.isPropagationStopped
    EventBase.isImmediatePropagationStopped
    EventBase.isDefaultPrevented
    EventBase.propagationPhase
    EventBase.currentTarget
    EventBase.dispatch
    EventBase.imguiEvent
    EventBase.originalMousePosition
    EventBase.pooled
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public class SplitViewSplitterCountChangedEvent : EventBase<SplitViewSplitterCountChangedEvent>, IDisposable
    Remarks

    This event is dispatched after splitters have been created or removed following a change in pane count or the first layout pass. It can be used to defer collapse/expand operations until the splitters are ready.

    Constructors

    SplitViewSplitterCountChangedEvent()

    Default constructor.

    Declaration
    public SplitViewSplitterCountChangedEvent()

    Properties

    newCount

    The new number of splitters.

    Declaration
    public int newCount { get; }
    Property Value
    Type Description
    int

    previousCount

    The previous number of splitters.

    Declaration
    public int previousCount { 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.SplitViewSplitterCountChangedEvent>.Init()

    Implements

    IDisposable
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)