StandardUICommand StandardUICommand StandardUICommand StandardUICommand Class


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

public : class StandardUICommand : UICommand
struct winrt::Windows::UI::Xaml::Input::StandardUICommand : UICommand
public class StandardUICommand : UICommand
Public Class StandardUICommand Inherits UICommand

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)


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.

  • Cut
  • Copy
  • Paste
  • Select All
  • Delete
  • Share
  • Save
  • Open
  • Close
  • Pause
  • Play
  • Stop
  • Forward
  • Backward
  • Undo
  • Redo


StandardUICommand() StandardUICommand() StandardUICommand() StandardUICommand()

Initializes a new instance of the StandardUICommand class.

StandardUICommand(StandardUICommandKind) StandardUICommand(StandardUICommandKind) StandardUICommand(StandardUICommandKind) StandardUICommand(StandardUICommandKind)

Initializes a new instance of the StandardUICommand class of the specified kind.


Kind Kind Kind Kind

Gets the platform command (with pre-defined properties such as icon, keyboard accelerator, and description) that can be used with a StandardUICommand.

KindProperty KindProperty KindProperty KindProperty

Identifies the Kind dependency property.

See also