Share via


ContentDialog.CloseButtonCommandParameter 屬性

定義

取得或設定參數,以傳遞至關閉按鈕的命令。

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

屬性值

Object

Platform::Object

IInspectable

要傳遞給關閉按鈕命令的參數。 預設值為 null

適用於