Freigeben über


RefreshContainer.RefreshRequested Ereignis

Definition

Tritt auf, wenn eine Aktualisierung des Inhalts initiiert wurde.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.RefreshContainer.RefreshRequested (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).

// 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) 

Ereignistyp

Gilt für: