Compartilhar via


RefreshContainer.RefreshRequested Evento

Definição

Ocorre quando uma atualização do conteúdo é iniciada.

API equivalente do WinUI 2 para UWP: Microsoft.UI.Xaml.Controls.RefreshContainer.RefreshRequested (para WinUI no SDK do Aplicativo Windows, consulte os namespaces SDK do Aplicativo Windows).

// Register
event_token RefreshRequested(TypedEventHandler<RefreshContainer, RefreshRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RefreshContainer::RefreshRequested_revoker RefreshRequested(auto_revoke_t, TypedEventHandler<RefreshContainer, RefreshRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<RefreshContainer,RefreshRequestedEventArgs> RefreshRequested;
function onRefreshRequested(eventArgs) { /* Your code */ }
refreshContainer.addEventListener("refreshrequested", onRefreshRequested);
refreshContainer.removeEventListener("refreshrequested", onRefreshRequested);
- or -
refreshContainer.onrefreshrequested = onRefreshRequested;
Public Custom Event RefreshRequested As TypedEventHandler(Of RefreshContainer, RefreshRequestedEventArgs) 

Tipo de evento

Aplica-se a