Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.96 KB

standarduicommand.md

File metadata and controls

54 lines (41 loc) · 1.96 KB
-api-id -api-type ms.custom
T:Windows.UI.Xaml.Input.StandardUICommand
winrt class
RS5

Windows.UI.Xaml.Input.StandardUICommand

-description

Derives from XamlUICommand, adding a set of standard platform commands with pre-defined properties.

-remarks

XamlUICommand implements the ICommand interface (Windows.UI.Xaml.Input.ICommand for C++ or System.Windows.Input.ICommand for C#), adding various UI properties, methods, and events.

The platform provides the following set of commands.

Command Icon Keyboard shortcut Label Description
Cut
Copy
Paste
Select All
Delete
Share
Save
Open
Close
Pause
Play
Stop
Forward
Backward
Undo
Redo

-see-also

XamlUICommand, Commanding in Universal Windows Platform apps using StandardUICommand, XamlUICommand, and ICommand

-examples

Tip

For more info, design guidance, and code examples, see Command design basics.

If you have the WinUI 2 Gallery app installed, click here to open the app and see the StandardUICommand in action.