다음을 통해 공유


RefreshVisualizer.RefreshRequested 이벤트

정의

콘텐츠 업데이트가 시작될 때 발생합니다.

UWP에 해당하는 WinUI 2 API: Microsoft.UI.Xaml.Controls.RefreshVisualizer.RefreshRequested(Windows 앱 SDK WinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

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

이벤트 유형

적용 대상