Class CategoryOrderAttribute
- Namespace
- Stride.Core.Annotations
- Assembly
- Stride.Core.dll
This attribute allows to associate an Order value to a category name.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = true, Inherited = true)]
public sealed class CategoryOrderAttribute : Attribute
- Inheritance
-
CategoryOrderAttribute
- Inherited Members
Constructors
CategoryOrderAttribute(int, string)
public CategoryOrderAttribute(int order, string name)
Parameters
Properties
Expand
Gets or sets whether to expand the category in the UI.
public ExpandRule Expand { get; set; }
Property Value
Name
Gets or sets the name of the category.
public string Name { get; }
Property Value
Order
Gets or sets the order value of the category.
public int Order { get; }