FlyoutBase.Opening Event


Occurs before the flyout is shown.

Equivalent WinUI event: Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase.Opening.

// Register
event_token Opening(EventHandler<IInspectable> const& handler) const;

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

// Revoke with event_revoker
Opening_revoker Opening(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public event System.EventHandler<object> Opening;
function onOpening(eventArgs) { /* Your code */ }
flyoutBase.addEventListener("opening", onOpening);
flyoutBase.removeEventListener("opening", onOpening);
- or -
flyoutBase.onopening = onOpening;
Public Custom Event Opening As EventHandler(Of Object) 
<flyout Opening="eventhandler"/>

Event Type


Applies to