docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DirContext

    The layout direction context of the application.

    Inheritance
    object
    DirContext
    Implements
    IContext
    IEquatable<DirContext>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Core
    Assembly: Unity.AppUI.dll
    Syntax
    public record DirContext : IContext, IEquatable<DirContext>

    Constructors

    DirContext(Dir)

    The layout direction context of the application.

    Declaration
    public DirContext(Dir dir)
    Parameters
    Type Name Description
    Dir dir

    The layout direction.

    Properties

    dir

    The current layout direction.

    Declaration
    public Dir dir { get; }
    Property Value
    Type Description
    Dir

    Implements

    IContext
    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 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)