Udostępnij za pośrednictwem


ButtonBase.CommandParameter Property

Definition

Gets or sets the parameter to pass to the Command property.

public:
 property Platform::Object ^ CommandParameter { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable CommandParameter();

void CommandParameter(IInspectable value);
public object CommandParameter { get; set; }
var object = buttonBase.commandParameter;
buttonBase.commandParameter = object;
Public Property CommandParameter As Object
<button>
  <button.CommandParameter>
    object
  </button.CommandParameter>
</button>
- or -
<button CommandParameter="objectAsString"/>

Property Value

Object

Platform::Object

IInspectable

The parameter to pass to the Command property. The default is null.

Applies to