Xamarin.Forms Guides | Samples

Xamarin.Forms.Command Constructor

Initializes a new instance of the Command class.

Syntax

public Command (Action execute)

Parameters

execute
An Action to execute when the Command is executed.

Remarks

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0