Class SetupUiCategoryModel
- Namespace
- LibreRally.HUD
- Assembly
- LibreRally.dll
Data model for a category of setup fields.
public sealed class SetupUiCategoryModel
- Inheritance
-
SetupUiCategoryModel
- Inherited Members
Constructors
SetupUiCategoryModel(string, string, string, string, IReadOnlyList<SetupUiFieldModel>)
Data model for a category of setup fields.
public SetupUiCategoryModel(string id, string title, string tagline, string description, IReadOnlyList<SetupUiFieldModel> fields)
Parameters
idstringThe unique identifier for the category.
titlestringThe display title of the category.
taglinestringA short tagline for the category.
descriptionstringA detailed description of the category.
fieldsIReadOnlyList<SetupUiFieldModel>The list of fields in this category.
Properties
Description
Gets the detailed description of the category.
public string Description { get; }
Property Value
Fields
Gets the list of fields in this category.
public IReadOnlyList<SetupUiFieldModel> Fields { get; }
Property Value
Id
Gets the unique identifier for the category.
public string Id { get; }
Property Value
NonDefaultChangeCount
Gets the number of fields that have non-default values in this category.
public int NonDefaultChangeCount { get; }
Property Value
PendingChangeCount
Gets the number of fields with pending changes in this category.
public int PendingChangeCount { get; }
Property Value
PendingLiveChangeCount
Gets the number of fields with pending live changes in this category.
public int PendingLiveChangeCount { get; }
Property Value
PendingReloadChangeCount
Gets the number of fields with pending reload changes in this category.
public int PendingReloadChangeCount { get; }
Property Value
Tagline
Gets the short tagline for the category.
public string Tagline { get; }
Property Value
Title
Gets the display title of the category.
public string Title { get; }