UICommand.Invoked | invoked property

Applies to Windows and Windows Phone

Gets or sets the handler for the event that is fired when the user selects the UICommand.

Syntax


var invoked = uiCommand.invoked;
uiCommand.invoked = invoked;

Property value

Type: UICommandInvokedHandler

The event handler associated with the UICommand.

Remarks

This property may be null.

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
IUICommand
Object
PopupMenu.Commands
UICommand

 

 

Show:
© 2014 Microsoft