Class DisplayNameAttribute
Attribute provides the display name and display order
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 |