共用方式為


InfoBar.Closed 事件

定義

會在 關閉 InfoBar 之後發生。

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

// Register
event_token Closed(TypedEventHandler<InfoBar, InfoBarClosedEventArgs const&> const& handler) const;

// Revoke with event_token
void Closed(event_token const* cookie) const;

// Revoke with event_revoker
InfoBar::Closed_revoker Closed(auto_revoke_t, TypedEventHandler<InfoBar, InfoBarClosedEventArgs const&> const& handler) const;
public event TypedEventHandler<InfoBar,InfoBarClosedEventArgs> Closed;
Public Custom Event Closed As TypedEventHandler(Of InfoBar, InfoBarClosedEventArgs) 

事件類型

適用於