docs.unity3d.com
    Show / Hide Table of Contents

    Class ContextChangedEvent<T>

    Event raised when the context has changed.

    Inheritance
    Object
    EventBase
    EventBase<ContextChangedEvent<T>>
    ContextChangedEvent<T>
    Inherited Members
    UnityEngine.UIElements.EventBase<Unity.AppUI.UI.ContextChangedEvent<T>>.TypeId()
    UnityEngine.UIElements.EventBase<Unity.AppUI.UI.ContextChangedEvent<T>>.GetPooled()
    UnityEngine.UIElements.EventBase<Unity.AppUI.UI.ContextChangedEvent<T>>.Dispose()
    UnityEngine.UIElements.EventBase<Unity.AppUI.UI.ContextChangedEvent<T>>.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.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.AppUI.UI
    Syntax
    public class ContextChangedEvent<T> : EventBase<ContextChangedEvent<T>>, IDisposable where T : IContext
    Type Parameters
    Name Description
    T

    The type of the context.

    Constructors

    ContextChangedEvent()

    Default constructor.

    Declaration
    public ContextChangedEvent()

    Properties

    context

    The new context.

    Declaration
    public T context { get; }
    Property Value
    Type Description
    T

    Methods

    GetPooled(T)

    Gets a pooled event instance.

    Declaration
    public static ContextChangedEvent<T> GetPooled(T context)
    Parameters
    Type Name Description
    T context

    The new context.

    Returns
    Type Description
    ContextChangedEvent<T>

    A pooled event instance.

    Init()

    Resets all event members to their initial values.

    Declaration
    protected override void Init()
    Overrides
    UnityEngine.UIElements.EventBase<Unity.AppUI.UI.ContextChangedEvent<T>>.Init()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023