StandardUICommand StandardUICommand StandardUICommand StandardUICommand Class

Definition

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
Attributes

Windows 10 requirements

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

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.

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

Constructors

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.

Properties

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