Table of Contents

Class CategoryAttribute

Namespace
MudBlazor
Assembly
MudBlazor.dll

Specifies the name of the category in which to group the property of a MudBlazor component when displayed in the API documentation.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class CategoryAttribute : Attribute
Inheritance
CategoryAttribute
Inherited Members
Extension Methods

Remarks

Use this attribute together with the ParameterAttribute.
This attribute is similar to CategoryAttribute.
The name of the category can be specified by using a constant defined in the CategoryTypes class.

Constructors

CategoryAttribute(string)

public CategoryAttribute(string name)

Parameters

name string

Properties

Name

The name of the category.

public string Name { get; }

Property Value

string

Order

The order of the category - the greater the number the lower the category will be displayed in the API documentation.

public int Order { get; }

Property Value

int