C# Class InTheHand.UI.Popups.UICommand

Represents a command in a context menu.
PlatformVersion supported AndroidAndroid 4.4 and later iOSiOS 9.0 and later macOSOS X 10.7 and later tvOStvOS 9.0 and later Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later
Inheritance: IUICommand
Datei anzeigen Open project: inthehand/Charming

Public Methods

Method Description
UICommand ( )

Initializes a new instance of the UICommand class.

UICommand ( string label, UICommandInvokedHandler action )

Initializes a new instance of the UICommand class, using the specified label and event handler.

UICommand ( string label, UICommandInvokedHandler action, object commandId )

Initializes a new instance of the UICommand class, using the specified label, event handler, and command identifier.

Method Details

UICommand() public method

Initializes a new instance of the UICommand class.
public UICommand ( )

UICommand() public method

Initializes a new instance of the UICommand class, using the specified label and event handler.
public UICommand ( string label, UICommandInvokedHandler action )
label string The label for the new command.
action UICommandInvokedHandler The event handler for the new command.

UICommand() public method

Initializes a new instance of the UICommand class, using the specified label, event handler, and command identifier.
public UICommand ( string label, UICommandInvokedHandler action, object commandId )
label string The label for the new command.
action UICommandInvokedHandler The event handler for the new command.
commandId object The command identifier for the new command.