ApplicationCommands.Undo 属性

定义

获取表示“撤销”命令的值。Gets the value that represents the Undo command.

public:
 static property System::Windows::Input::RoutedUICommand ^ Undo { System::Windows::Input::RoutedUICommand ^ get(); };
public static System.Windows.Input.RoutedUICommand Undo { get; }
member this.Undo : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly Property Undo As RoutedUICommand

属性值

命令。The command.

默认值Default Values
键笔势Key Gesture Ctrl-ZCtrl-Z
UI 文本UI Text 撤消Undo

注解

此命令指示撤消上一操作的意图。This command indicates intention to undo the last action.

任何给定对象上都不一定有该命令的实现;在许多情况下, 该命令的实现是应用程序编写器的责任。There is not necessarily an implementation for the command on any given object; in many cases the implementation for the command is the responsibility of the application writer.

XAML 属性用法XAML Attribute Usage

<object property="Undo"/>  

适用于

另请参阅