In This Article

PropertyGridPropertyEditorsModifier Class

Represents a class that can optionally clear or append to the DefaultPropertyEditors collection from XAML, such as in Application.Resources.

public class PropertyGridPropertyEditorsModifier : DependencyObject, IPropertyEditorsProvider
Inheritance:
object object
Implements:
IPropertyEditorsProvider

Constructors

PropertyGridPropertyEditorsModifier()

Initializes an instance of the class.

public PropertyGridPropertyEditorsModifier()

Properties

Clear

Indicates whether to clear the collection before appending anything.

public bool Clear { get; set; }

Property Value

bool:

true if the collection should be cleared before appending anything; otherwise, false.

PropertyEditors

The property editors to append to the collection.

public PropertyEditorCollection PropertyEditors { get; }

Property Value

PropertyEditorCollection

Fields

ClearProperty

Defines the Clear property.

public static readonly DependencyProperty ClearProperty

Extension Methods