docs.unity3d.com
    Show / Hide Table of Contents

    Class Styles

    General usage styling classes for UI components.

    Inheritance
    Object
    Styles
    Inherited Members
    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 static class Styles

    Fields

    activeUssClassName

    The styling class used to set an "active" pseudo-state on a element.

    Declaration
    public const string activeUssClassName = "is-active"
    Field Value
    Type Description
    String

    checkedUssClassName

    The styling class used to set a "checked" pseudo-state on a element.

    Declaration
    public const string checkedUssClassName = "is-checked"
    Field Value
    Type Description
    String

    elevationUssClassName

    The styling class used to set an element's elevation.

    Declaration
    public const string elevationUssClassName = "unity-elevation-"
    Field Value
    Type Description
    String

    focusedUssClassName

    The styling class used to set a "focus" pseudo-state on a element.

    Declaration
    public const string focusedUssClassName = "is-focused"
    Field Value
    Type Description
    String

    hiddenUssClassName

    The styling class used to hide an element completely.

    Declaration
    public const string hiddenUssClassName = "unity-hidden"
    Field Value
    Type Description
    String

    hoveredUssClassName

    The styling class used to set a "hover" pseudo-state on a element.

    Declaration
    public const string hoveredUssClassName = "is-hovered"
    Field Value
    Type Description
    String

    intermediateUssClassName

    The styling class used to set an "intermediate" pseudo-state on a element.

    Declaration
    public const string intermediateUssClassName = "is-intermediate"
    Field Value
    Type Description
    String

    invalidUssClassName

    The styling class used to set an "invalid" pseudo-state on a element.

    Declaration
    public const string invalidUssClassName = "is-invalid"
    Field Value
    Type Description
    String

    keyboardFocusUssClassName

    The styling class used to set a "keyboard-focus" pseudo-state on a element.

    Declaration
    public const string keyboardFocusUssClassName = "keyboard-focus"
    Field Value
    Type Description
    String

    lastChildUssClassName

    The styling class used to set a ":last-child" pseudo-state on a element.

    Declaration
    public const string lastChildUssClassName = "unity-last-child"
    Field Value
    Type Description
    String

    noArrowUssClassName

    Used in popups to hide the arrow/tip.

    Declaration
    public const string noArrowUssClassName = "no-arrow"
    Field Value
    Type Description
    String

    openUssClassName

    The styling class used to set an "open" pseudo-state on a element.

    Declaration
    public const string openUssClassName = "is-open"
    Field Value
    Type Description
    String

    selectedUssClassName

    The styling class used to set a "selected" pseudo-state on a element.

    Declaration
    public const string selectedUssClassName = "is-selected"
    Field Value
    Type Description
    String
    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