ExtendedPropertyValueEditor Class
Container for any and all extended editor logic for properties.
Microsoft.Windows.Design.PropertyEditing.PropertyValueEditor
Microsoft.Windows.Design.PropertyEditing.ExtendedPropertyValueEditor
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
The ExtendedPropertyValueEditor type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ExtendedPropertyValueEditor() | Initializes a new instance of the ExtendedPropertyValueEditor class. |
![]() | ExtendedPropertyValueEditor(DataTemplate, DataTemplate) | Initializes a new instance of the ExtendedPropertyValueEditor class with the specified extended and inline editor DataTemplate objects. |
| Name | Description | |
|---|---|---|
![]() | ExtendedEditorTemplate | Get or sets the DataTemplate used for the extended popup/pinned editor. |
![]() | InlineEditorTemplate | Gets or sets the DataTemplate that is used for an inline editor. (Inherited from PropertyValueEditor.) |
| Name | Description | |
|---|---|---|
![]() | 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.) |
The ExtendedPropertyValueEditor class can hold two DataTemplate objects, one for an inline editor and one for an extended editor. The inline editor provides a custom interface that appears within the bounds of the Properties window, and the extended editor provides an interface that appears in a new window.
The InlineEditorTemplate property returns the XAML template for the visual interface for the inline editor, and the ExtendedEditorTemplate property returns the XAML template for the extended editor. These are typically provided in a ResourceDictionary elsewhere in the project.
You should use the EditModeSwitchButton to invoke your custom ExtendedPropertyValueEditor, For a demonstration, see Walkthrough: Implementing a Color Editor.
The following code example shows how to use the ExtendedPropertyValueEditor class. For more information, see Walkthrough: Implementing a Color Editor.
