ContentDialog.CloseButtonCommand プロパティ

定義

閉じるボタンがタップされたときに呼び出すコマンドを取得または設定します。

public:
 property ICommand ^ CloseButtonCommand { ICommand ^ get(); void set(ICommand ^ value); };
ICommand CloseButtonCommand();

void CloseButtonCommand(ICommand value);
public ICommand CloseButtonCommand { get; set; }
var iCommand = contentDialog.closeButtonCommand;
contentDialog.closeButtonCommand = iCommand;
Public Property CloseButtonCommand As ICommand
<ContentDialog CloseButtonCommand="commandReference"/>

プロパティ値

プライマリ ボタンがタップされたときに呼び出すコマンド。

適用対象