Freigeben über


RefreshVisualizer.RefreshRequested Ereignis

Definition

Tritt auf, wenn eine Aktualisierung des Inhalts initiiert wurde.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.RefreshVisualizer.RefreshRequested (informationen zu WinUI in der Windows App SDK finden Sie im Windows App SDK Namespaces).

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

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

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

Ereignistyp

Gilt für: