共用方式為


PropertyValueEditorCommands.CommitTransaction 屬性

取得 RoutedCommand,表示用以認可與屬性編輯相關聯之交易的要求。

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
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

屬性值

型別:System.Windows.Input.RoutedCommand
用以認可與屬性編輯相關聯之交易的要求。

備註

編輯屬性的動作應該包裝在交易中。 例如,使用者可以按 ENTER 鍵認可編輯。 例如,使用者可以按 ESC 鍵取消編輯。

.NET Framework 安全性

請參閱

參考

PropertyValueEditorCommands 類別

Microsoft.Windows.Design.PropertyEditing 命名空間

PropertyValueEditor

CanExecute

Execute

其他資源

WPF 設計工具擴充性架構