ExtendedPropertyValueEditor Class

Container for any and all extended editor logic for properties.

System.Object
  Microsoft.Windows.Design.PropertyEditing.PropertyValueEditor
    Microsoft.Windows.Design.PropertyEditing.ExtendedPropertyValueEditor

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

public class ExtendedPropertyValueEditor : PropertyValueEditor

The ExtendedPropertyValueEditor type exposes the following members.

  NameDescription
Public methodExtendedPropertyValueEditor()Initializes a new instance of the ExtendedPropertyValueEditor class.
Public methodExtendedPropertyValueEditor(DataTemplate, DataTemplate)Initializes a new instance of the ExtendedPropertyValueEditor class with the specified extended and inline editor DataTemplate objects.
Top

  NameDescription
Public propertyExtendedEditorTemplateGet or sets the DataTemplate used for the extended popup/pinned editor.
Public propertyInlineEditorTemplateGets or sets the DataTemplate that is used for an inline editor. (Inherited from PropertyValueEditor.)
Top

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: