ContentDialog.PrimaryButtonCommandParameter Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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
Parameter yang akan diteruskan ke perintah untuk tombol utama. Standarnya adalah null.