Table of Contents

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

order int
name string

Properties

Expand

Gets or sets whether to expand the category in the UI.

public ExpandRule Expand { get; set; }

Property Value

ExpandRule

Name

Gets or sets the name of the category.

public string Name { get; }

Property Value

string

Order

Gets or sets the order value of the category.

public int Order { get; }

Property Value

int