Creates a new instance of the UICommand class.
| 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. |
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.