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 CategoryEditorModel class.
public CategoryEditorModel()
CategoryEditorModel(CategoryEditor)
Initializes an instance of the CategoryEditorModel class.
public CategoryEditorModel(CategoryEditor categoryEditor)
Parameter | Type | Description |
---|---|---|
categoryEditor | CategoryEditor | The CategoryEditor that was used to create this data model. |
Properties
CategoryEditor
Gets the CategoryEditor that was used to create this data model.
public CategoryEditor CategoryEditor { get; }
Property Value
- CategoryEditor:
The CategoryEditor that was used to create this data model.
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
.
EditorTemplate
Gets the DataTemplate to use for editing the properties consumed by this editor.
public DataTemplate EditorTemplate { get; set; }
Property Value
- DataTemplate:
The DataTemplate to use for editing the properties consumed by this editor.
Remarks
The priority order of editor template specification is EditorTemplate and then EditorTemplateKey.
EditorTemplateKey
Gets 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:
The resource key that references a DataTemplate to use for editing the properties consumed by this editor.
Remarks
The priority order of editor template specification is EditorTemplate and then EditorTemplateKey.
IsModifiedResolved
Gets 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
Gets or sets 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
- DataModelBase.Dispose()
- DataModelBase.Dispose(bool)
- DataModelBase.RefreshChildren()
- DataModelBase.ToString()
- DataModelBase.CanAutoDispose
- DataModelBase.Children
- DataModelBase.IsExpanded
- DataModelBase.IsRoot
- DataModelBase.IsSelected
- DataModelBase.Parent
- DataModelBase.SortComparer
- DataModelBase.Tag
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()