UICommand Constructor

Creates a new instance of the UICommand class.

Overload list

Name Description
UICommand () Creates a new instance of the UICommand class.
UICommand (String) Creates a new instance of the UICommand class using the specified label.
UICommand (String, UICommandInvokedHandler) Creates a new instance of the UICommand class using the specified label and event handler.
UICommand (String, UICommandInvokedHandler, Object) Creates a new instance of the UICommand class using the specified label, event handler, and command identifier.

Remarks

You can see complete code examples that demonstrate how to create and customize context menus in the Context menu sample on the Microsoft Store app sample home page.

See also

Reference

UICommand Class

UICommand Members

Windows.UI.Popups Namespace