Поделиться через


PropertyValueEditorCommands.CommitTransaction Property

Gets a RoutedCommand that represents a request to commit a transaction associated with a property edit.

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

Syntax

'Declaration
Public Shared ReadOnly Property CommitTransaction As RoutedCommand
    Get
public static RoutedCommand CommitTransaction { get; }
public:
static property RoutedCommand^ CommitTransaction {
    RoutedCommand^ get ();
}
static member CommitTransaction : RoutedCommand
static function get CommitTransaction () : RoutedCommand

Property Value

Type: System.Windows.Input.RoutedCommand
A request to commit a transaction associated with a property edit.

Remarks

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.

.NET Framework Security

See Also

Reference

PropertyValueEditorCommands Class

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyValueEditor

CanExecute

Execute

Other Resources

WPF Designer Extensibility Architecture