ContentDialog.PrimaryButtonCommandParameter Proprietà

Definizione

Ottiene o imposta il parametro da passare al comando per il pulsante primario.

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

void PrimaryButtonCommandParameter(IInspectable value);
public object PrimaryButtonCommandParameter { get; set; }
var object = contentDialog.primaryButtonCommandParameter;
contentDialog.primaryButtonCommandParameter = object;
Public Property PrimaryButtonCommandParameter As Object
<ContentDialog>
  <ContentDialog.PrimaryButtonCommandParameter>
    object
  </ContentDialog.PrimaryButtonCommandParameter>
</ContentDialog>
- or -
<ContentDialog PrimaryButtonCommandParameter="objectAsString"/>

Valore della proprietà

Object

Platform::Object

IInspectable

Parametro da passare al comando per il pulsante primario. Il valore predefinito è Null.

Si applica a