docs.unity3d.com
    Show / Hide Table of Contents

    Class DisplayNameAttribute

    Attribute provides the display name and display order

    Inheritance
    Object
    Attribute
    DisplayNameAttribute
    Namespace: Unity.Industrial.Forma.Core.Attributes
    Syntax
    public class DisplayNameAttribute : Attribute, _Attribute

    Constructors

    DisplayNameAttribute(String, Int32)

    Initializes a new instance of the DisplayNameAttribute class.

    Declaration
    public DisplayNameAttribute(string displayName, int displayOrder = 0)
    Parameters
    Type Name Description
    String displayName

    The display name.

    Int32 displayOrder

    The display order.

    Properties

    DisplayName

    Display Name

    Declaration
    public string DisplayName { get; }
    Property Value
    Type Description
    String

    DisplayOrder

    Display Order (larger will take first)

    Declaration
    public int DisplayOrder { get; }
    Property Value
    Type Description
    Int32
    Back to top
    Terms of use
    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