Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.95 KB

standarduicommand.md

File metadata and controls

53 lines (39 loc) · 1.95 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Input.StandardUICommand
winrt class

Microsoft.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 (Microsoft.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 Windows apps using StandardUICommand, XamlUICommand, and ICommand

-examples

Tip

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

[!div class="nextstepaction"] Open the WinUI 3 Gallery app and see the StandardUICommand in action

The WinUI 3 Gallery app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the Microsoft Store or get the source code on GitHub.