Share via


ContentDialog.PrimaryButtonCommandParameter Properti

Definisi

Mendapatkan atau mengatur parameter untuk diteruskan ke perintah untuk tombol utama.

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"/>

Nilai Properti

Object

Platform::Object

IInspectable

Parameter yang akan diteruskan ke perintah untuk tombol utama. Standarnya adalah null.

Berlaku untuk