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 命名空間