DisplayInformation.AdvancedColorInfoChanged 이벤트

정의

고급 색 정보가 변경될 때 발생합니다.

// Register
event_token AdvancedColorInfoChanged(TypedEventHandler<DisplayInformation, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
DisplayInformation::AdvancedColorInfoChanged_revoker AdvancedColorInfoChanged(auto_revoke_t, TypedEventHandler<DisplayInformation, IInspectable const&> const& handler) const;
public event TypedEventHandler<DisplayInformation,object> AdvancedColorInfoChanged;
function onAdvancedColorInfoChanged(eventArgs) { /* Your code */ }
displayInformation.addEventListener("advancedcolorinfochanged", onAdvancedColorInfoChanged);
displayInformation.removeEventListener("advancedcolorinfochanged", onAdvancedColorInfoChanged);
- or -
displayInformation.onadvancedcolorinfochanged = onAdvancedColorInfoChanged;
Public Custom Event AdvancedColorInfoChanged As TypedEventHandler(Of DisplayInformation, Object) 

이벤트 유형

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1803 (10.0.17134.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v6.0에서 도입되었습니다.)

설명

이는 CoreWindow에 해당하는 모니터의 고급 색 정보가 변경될 때마다 알림을 받을 수 있도록 UWP 앱에 대한 이벤트 알림을 등록하는 이벤트 등록 API입니다. 그러면 앱이 GetAdvancedColorInfo API를 호출하여 최신 기능 및 상태를 알 수 있습니다. 앱은 변경된 값을 추적하고 필요한 경우 그에 따라 응답해야 합니다. 이벤트 API는 변경된 값을 나타내지 않습니다. 이 이벤트는 앱이 이전에 고급 색 정보의 변경 내용에 대해 등록한 기존 알림을 제거합니다.

적용 대상