共用方式為


ContentDialog.SecondaryButtonCommand 屬性

定義

取得或設定在點選次要按鈕時要叫用的命令。

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

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

屬性值

點選次要按鈕時要叫用的命令。

適用於