Condividi tramite


NavigationView.PaneClosing Evento

Definizione

Si verifica quando il riquadro NavigationView viene chiuso.

Questa documentazione si applica a WinUI 2 per UWP (per WinUI nella SDK per app di Windows, vedere gli spazi dei nomi SDK per app di Windows).

// Register
event_token PaneClosing(TypedEventHandler<NavigationView, NavigationViewPaneClosingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
NavigationView::PaneClosing_revoker PaneClosing(auto_revoke_t, TypedEventHandler<NavigationView, NavigationViewPaneClosingEventArgs const&> const& handler) const;
public event TypedEventHandler<NavigationView,NavigationViewPaneClosingEventArgs> PaneClosing;
Public Custom Event PaneClosing As TypedEventHandler(Of NavigationView, NavigationViewPaneClosingEventArgs) 
<NavigationView PaneClosing="eventhandler" />

Tipo evento

Si applica a