Compartir a través de


NavigationView.BackRequested Evento

Definición

Se produce cuando el botón Atrás recibe una interacción como un clic o pulsación.

// Register
event_token BackRequested(TypedEventHandler<NavigationView, NavigationViewBackRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
NavigationView::BackRequested_revoker BackRequested(auto_revoke_t, TypedEventHandler<NavigationView, NavigationViewBackRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<NavigationView,NavigationViewBackRequestedEventArgs> BackRequested;
function onBackRequested(eventArgs) { /* Your code */ }
navigationView.addEventListener("backrequested", onBackRequested);
navigationView.removeEventListener("backrequested", onBackRequested);
- or -
navigationView.onbackrequested = onBackRequested;
Public Custom Event BackRequested As TypedEventHandler(Of NavigationView, NavigationViewBackRequestedEventArgs) 
<NavigationView BackRequested="eventhandler" />

Tipo de evento

Se aplica a

Consulte también