CategoryEditor Class
Provides information for an editor that can consume and display one or more properties in a property grid.
public class CategoryEditor : ObservableObjectBase
- Inheritance:
- object ObservableObjectBase object
Constructors
CategoryEditor()
Initializes an instance of the class.
public CategoryEditor()
Properties
Category
Gets or sets the category associated with this editor.
public string Category { get; set; }
Property Value
- string:
The category associated with this editor.
Description
Gets or sets the description of the category editor, often displayed in a summary area or a tooltip.
public string Description { get; set; }
Property Value
- string:
The description of the category editor, often displayed in a summary area or a tooltip.
DisplayName
Gets or sets the name to use when displaying the category editor.
public string DisplayName { get; set; }
Property Value
- string:
The name to use when displaying the category editor.
EditorTemplate
Gets or sets 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 or sets 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.
Properties
Gets the properties that are consumed by this category editor.
public CategoryEditorPropertyCollection Properties { get; }
Property Value
- CategoryEditorPropertyCollection:
The properties that are consumed by this category editor.
Inherited Members
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()