Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AppBar.Closed Event
Definition
- Namespace:
- Microsoft.UI.Xaml.Controls
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
// Register
event_token Closed(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
void Closed(event_token const* cookie) const;
// Revoke with event_revoker
AppBar::Closed_revoker Closed(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public event System.EventHandler<object> Closed;
function onClosed(eventArgs) { /* Your code */ }
appBar.addEventListener("closed", onClosed);
appBar.removeEventListener("closed", onClosed);
- or -
appBar.onclosed = onClosed;
Public Custom Event Closed As EventHandler(Of Object)
<AppBar Closed="eventhandler"/>
Event Type
Remarks
The Closed event occurs after the transition animation completes. You can respond to the app bar being dismissed by handling the Closed event.
Applies to
See also
Feedback
Was this page helpful?
