ContentDialog.CloseButtonCommand 属性    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置在点击关闭按钮时要调用的命令。
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"/>
属性值
点击主按钮时要调用的命令。