In This Article

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

The category associated with this editor.

public string? Category { get; set; }

Property Value

string

Description

The description of the category editor, often displayed in a summary area or a tooltip.

public string? Description { get; set; }

Property Value

string

DisplayName

The name to use when displaying the category editor.

public string? DisplayName { get; set; }

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.

Properties

The properties that are consumed by this category editor.

public CategoryEditorPropertyCollection Properties { get; }

Property Value

CategoryEditorPropertyCollection

Inherited Members

Extension Methods