Xamarin.Forms.Core
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
Xamarin.Forms.Command
The Type of the parameter,
Defines an implementation wrapping a generic Action<T>.
The following example creates a new Command and set it to a button.
(s => Debug.WriteLine ("Command executed: {0}", s));
var button = new Button {
Text = "Hit me to execute the command",
Command = command,
CommandParameter = "button0",
};
]]>
Constructor
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
An Action to execute when the Command is executed.
Initializes a new instance of the Command class.
Constructor
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
An Action to execute when the Command is executed.
A indicating if the Command can be executed.
Initializes a new instance of the Command class.