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 PropertyGridPropertyEditorsModifier class.
public PropertyGridPropertyEditorsModifier()
Properties
Clear
Gets or sets 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
Gets the property editors to append to the collection.
public PropertyEditorCollection PropertyEditors { get; }
Property Value
- PropertyEditorCollection:
The property editors to append to the collection.
Fields
ClearProperty
Identifies the Clear dependency property. This field is read-only.
public static readonly DependencyProperty ClearProperty