In This Article

CategoryModel Class

Represents a property grid category IDataModel.

public class CategoryModel : DataModelBase, ICategoryModel, IDataModel, IDisposable
Inheritance:
object ObservableObjectBase DataModelBase object
Implements:
ICategoryModel IDataModel IDisposable

Constructors

CategoryModel(string?)

Initializes an instance of the class.

public CategoryModel(string? name)
Parameter Type Description
name string

The category name.

Properties

Description

The description of the data model, often displayed in a summary area or a tooltip.

public string? Description { get; set; }

Property Value

string

DescriptionResolved

The resolved description of the data model, often displayed in a summary area or a tooltip.

protected override sealed string? DescriptionResolved { get; }

Property Value

string

DisplayName

The name to use when displaying the data model, often the same as Name.

public string? DisplayName { get; set; }

Property Value

string

DisplayNameResolved

The name to use when displaying the data model, often the same as Name.

protected override sealed string? DisplayNameResolved { get; }

Property Value

string

IsModifiedResolved

Indicates whether the data model has been modified.

protected override sealed bool IsModifiedResolved { get; }

Property Value

bool:

true if the data model has been modified; otherwise, false.

Name

The name of the data model.

public string? Name { get; set; }

Property Value

string

NameResolved

The resolved name of the data model.

protected override sealed string? NameResolved { get; }

Property Value

string

SortImportanceResolved

A resolved DataModelSortImportance that indicates the sort importance of this data model.

protected override DataModelSortImportance SortImportanceResolved { get; }

Property Value

DataModelSortImportance

SortOrder

A numeric sort order for sorting the data model within other data models of the same sort importance.

public int SortOrder { get; set; }

Property Value

int

SortOrderResolved

A resolved numeric sort order for sorting the data model within other data models of the same sort importance.

protected override sealed int SortOrderResolved { get; }

Property Value

int

Inherited Members

Extension Methods