Share via


ContentDialog.CloseButtonCommandParameter Properti

Definisi

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

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

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

Nilai Properti

Object

Platform::Object

IInspectable

Parameter yang akan diteruskan ke perintah untuk tombol tutup. Defaultnya adalah null.

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)

Berlaku untuk