InfoBar.CloseButtonClick Event

Definition

Occurs after the close button is clicked in the InfoBar.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

// Register
event_token CloseButtonClick(TypedEventHandler<InfoBar, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
InfoBar::CloseButtonClick_revoker CloseButtonClick(auto_revoke_t, TypedEventHandler<InfoBar, IInspectable const&> const& handler) const;
public event TypedEventHandler<InfoBar,object> CloseButtonClick;
Public Custom Event CloseButtonClick As TypedEventHandler(Of InfoBar, Object) 

Event Type

Applies to