In This Article

CategoryEditorModel Class

Represents a property grid category editor IDataModel.

public class CategoryEditorModel : DataModelBase, ICategoryEditorModel, IDataModel, IDisposable
Inheritance:
object ObservableObjectBase DataModelBase object
Implements:
ICategoryEditorModel IDataModel IDisposable

Constructors

CategoryEditorModel()

Initializes an instance of the class.

public CategoryEditorModel()

CategoryEditorModel(CategoryEditor)

Initializes an instance of the class.

public CategoryEditorModel(CategoryEditor categoryEditor)
Parameter Type Description
categoryEditor CategoryEditor

The CategoryEditor that was used to create this data model.

Properties

CategoryEditor

The CategoryEditor that was used to create this data model.

public CategoryEditor? CategoryEditor { get; }

Property Value

CategoryEditor

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

EditorTemplate

The DataTemplate to use for editing the properties consumed by this editor.

public DataTemplate? EditorTemplate { get; set; }

Property Value

DataTemplate

Remarks

The priority order of editor template specification is EditorTemplate and then EditorTemplateKey.

EditorTemplateKey

The resource key that references a DataTemplate to use for editing the properties consumed by this editor.

public object? EditorTemplateKey { get; set; }

Property Value

object

Remarks

The priority order of editor template specification is EditorTemplate and then EditorTemplateKey.

IsModifiedResolved

Indicates whether the data model has been modified.

protected override 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