IUICommand interface

Applies to Windows and Windows Phone

Represents a command in a context menu or message dialog box.

Syntax


public interface IUICommand

Attributes

[Version(0x06020000)]

Members

The IUICommand interface has these types of members:

Properties

The IUICommand interface has these properties.

PropertyAccess typeDescription

Id

Read/writeGets or sets the identifier of the command.

Invoked

Read/writeGets or sets the handler for the event that is fired when the user invokes the command.

Label

Read/writeGets or sets the label for the command.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Popups
Windows::UI::Popups [C++]

Metadata

Windows.winmd

See also

Reference
MessageDialog.Commands
MessageDialog.ShowAsync
PopupMenu.Commands
PopupMenu.ShowAsync
PopupMenu.ShowForSelectionAsync
UICommand
UICommand.Invoked
UICommandInvokedHandler

 

 

Show:
© 2014 Microsoft