Skip to main content

Category

It is possible to display an association between different settings using the category feature. When a setting is assigned a category, it is assigned a category name and a color which will visually indicate that it is related to other settings with the same color and category name.

Usage

[Setting("the username")]
[Category("Authentication", CategoryColor.Red)]
public string? ServiceUsername { get; set; }

It is also possible to manually specify the color

[Setting("the username")]
[Category("Authentication", "#6d8750")]
public string? ServiceUsername { get; set; }

Appearance

The category name appears as a tooltip.

image-20230831083953172