다음을 통해 공유


RefreshVisualizer.RefreshStateChanged 이벤트

정의

시각화 도우미의 상태가 변경되면 발생합니다.

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

// Register
event_token RefreshStateChanged(TypedEventHandler<RefreshVisualizer, RefreshStateChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RefreshVisualizer::RefreshStateChanged_revoker RefreshStateChanged(auto_revoke_t, TypedEventHandler<RefreshVisualizer, RefreshStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<RefreshVisualizer,RefreshStateChangedEventArgs> RefreshStateChanged;
function onRefreshStateChanged(eventArgs) { /* Your code */ }
refreshVisualizer.addEventListener("refreshstatechanged", onRefreshStateChanged);
refreshVisualizer.removeEventListener("refreshstatechanged", onRefreshStateChanged);
- or -
refreshVisualizer.onrefreshstatechanged = onRefreshStateChanged;
Public Custom Event RefreshStateChanged As TypedEventHandler(Of RefreshVisualizer, RefreshStateChangedEventArgs) 

이벤트 유형

적용 대상