InfoBar.CloseButtonCommand 属性

定义

获取或设置在 InfoBar 中单击关闭按钮时要调用的命令。

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

void CloseButtonCommand(ICommand value);
public ICommand CloseButtonCommand { get; set; }
var iCommand = infoBar.closeButtonCommand;
infoBar.closeButtonCommand = iCommand;
Public Property CloseButtonCommand As ICommand

属性值

InfoBar 中单击关闭按钮时要调用的命令。 默认为 null

适用于