This topic has not yet been rated - Rate this topic

IUICommand interface

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

Syntax


public interface IUICommand

Attributes

GuidAttribute("4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f")
VersionAttribute(NTDDI_WIN8)

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

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

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.