PropertyValueEditor Class
Container for any and all inline editor logic for properties.
Microsoft.Windows.Design.PropertyEditing.PropertyValueEditor
Microsoft.Windows.Design.PropertyEditing.DialogPropertyValueEditor
Microsoft.Windows.Design.PropertyEditing.ExtendedPropertyValueEditor
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
The PropertyValueEditor type exposes the following members.
| Name | Description | |
|---|---|---|
|
PropertyValueEditor() | Initializes a new instance of the PropertyValueEditor class. |
|
PropertyValueEditor(DataTemplate) | Initializes a new instance of the PropertyValueEditor class. |
| Name | Description | |
|---|---|---|
|
InlineEditorTemplate | Gets or sets the DataTemplate that is used for an inline editor. |
| Name | Description | |
|---|---|---|
|
CreateEditorAttribute(Type) | Utility method that creates a new EditorAttribute for the specified PropertyValueEditor type. |
|
CreateEditorAttribute(PropertyValueEditor) | Utility method that creates a new EditorAttribute for the specified PropertyValueEditor type. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This class can hold a single DataTemplate for an inline editor. This is typically used to provide a different or custom editor for a property in the Properties window. The inline editor appears within the Properties window. To provide a custom editor that has a larger screen area and is not always visible, see ExtendedPropertyValueEditor.
The InlineEditorTemplate property returns the XAML template for the visual interface for this editor. This is typically provided in a ResourceDictionary elsewhere in the project.
The following code example shows how to use the PropertyValueEditor class. For more information, see Walkthrough: Implementing an Inline Value Editor.