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 CategoryModel class.

public CategoryModel(string name)
Parameter Type Description
name string

The category name.

Properties

Description

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

public string Description { get; set; }

Property Value

string:

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

DescriptionResolved

Gets 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:

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

DisplayName

Gets or sets the name to use when displaying the data model, often the same as Name.

public string DisplayName { get; set; }

Property Value

string:

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

DisplayNameResolved

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

protected override sealed string DisplayNameResolved { get; }

Property Value

string:

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

IsModifiedResolved

Gets 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

Gets or sets the name of the data model.

public string Name { get; set; }

Property Value

string:

The name of the data model.

NameResolved

Gets the resolved name of the data model.

protected override sealed string NameResolved { get; }

Property Value

string:

The resolved name of the data model.

SortImportanceResolved

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

protected override DataModelSortImportance SortImportanceResolved { get; }

Property Value

DataModelSortImportance:

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

SortOrder

Gets or sets 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:

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

SortOrderResolved

Gets 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:

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

Inherited Members