Button.CommandParameter Property

Definition

Gets or sets the parameter to pass to the Command property. This is a bindable property.

public object CommandParameter { get; set; }
member this.CommandParameter : obj with get, set

Property Value

A object to pass to the command property. The default value is null.

Implements

Xamarin.Forms.Internals.IButtonElement.CommandParameter

Applies to