Share via


InfoBar.CloseButtonCommandParameter 屬性

定義

取得或設定參數,以傳遞至 InfoBar中關閉按鈕的命令。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property Platform::Object ^ CloseButtonCommandParameter { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable CloseButtonCommandParameter();

void CloseButtonCommandParameter(IInspectable value);
public object CloseButtonCommandParameter { get; set; }
Public Property CloseButtonCommandParameter As Object

屬性值

Object

Platform::Object

IInspectable

要傳遞給 InfoBar中關閉按鈕之命令的參數。 預設值為 null

適用於