PropertyValueEditorCommands Class

Provides standard commands that control the behavior of a property window when the user edits properties.

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

Syntax

'Declaration
Public NotInheritable Class PropertyValueEditorCommands
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class PropertyValueEditorCommands
public ref class PropertyValueEditorCommands abstract sealed
public final class PropertyValueEditorCommands

Remarks

When a user edits properties in a property window, there are some standard behaviors the window should exhibit.

The action of editing the property should be wrapped in a transaction. The user can commit the edit, for example, by pressing the ENTER key. The user can cancel the edit, for example, by pressing the ESC key.

The property window should support the user with different editing modes for a property, if available. The user can use the following types of property editors:

  • Inline editors. For example, the Margin property editor where the user types the property value directly in the property's row.

  • Extended editors. For example, the HorizontalAlignment property editor where the user selects the property value from a drop down list.

  • Dialog box editors. For example, the RowDefinitions property editor where the user enters the property value in a separate dialog box.

  • Pinned editors, which are dialog boxes that are pinned in place below the property in the property window.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.PropertyEditing.PropertyValueEditorCommands

Thread Safety

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

See Also

Reference

PropertyValueEditorCommands Members

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyValueEditor

PropertyContainerEditMode

Inline

ExtendedPopup

Dialog

ExtendedPinned

Other Resources

WPF Designer Extensibility Architecture