ISystemBackdropControllerWithTargets.StateChanged 이벤트

정의

시스템 배경의 상태가 변경되면 발생합니다.

// Register
event_token StateChanged(TypedEventHandler<ISystemBackdropControllerWithTargets, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
ISystemBackdropControllerWithTargets::StateChanged_revoker StateChanged(auto_revoke_t, TypedEventHandler<ISystemBackdropControllerWithTargets, IInspectable const&> const& handler) const;
event TypedEventHandler<ISystemBackdropControllerWithTargets,object> StateChanged;
function onStateChanged(eventArgs) { /* Your code */ }
iSystemBackdropControllerWithTargets.addEventListener("statechanged", onStateChanged);
iSystemBackdropControllerWithTargets.removeEventListener("statechanged", onStateChanged);
- or -
iSystemBackdropControllerWithTargets.onstatechanged = onStateChanged;
Event StateChanged As TypedEventHandler(Of ISystemBackdropControllerWithTargets, Object) 

이벤트 유형

설명

SystemBackdropState가 와 간에 Active 변경될 때 알림을 받도록 이 이벤트를 구독할 수 있습니다Fallback/High Contrast. 예를 들어 시스템 배경 재질 상태에 따라 업데이트하려는 다른 비시스템 배경 UI가 있을 수 있습니다.

적용 대상

추가 정보