Partage via


FlyoutBase.Opening Événement

Définition

Se produit avant l’affichage du menu volant.

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

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

// Revoke with event_revoker
FlyoutBase::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"/>

Type d'événement

S’applique à