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

属性值

点击辅助按钮时要调用的命令。

适用于