다음을 통해 공유


FrameworkElement.ActualThemeChanged 이벤트

정의

ActualTheme 속성 값이 변경되면 발생합니다.

// Register
event_token ActualThemeChanged(TypedEventHandler<FrameworkElement, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
FrameworkElement::ActualThemeChanged_revoker ActualThemeChanged(auto_revoke_t, TypedEventHandler<FrameworkElement, IInspectable const&> const& handler) const;
public event TypedEventHandler<FrameworkElement,object> ActualThemeChanged;
function onActualThemeChanged(eventArgs) { /* Your code */ }
frameworkElement.addEventListener("actualthemechanged", onActualThemeChanged);
frameworkElement.removeEventListener("actualthemechanged", onActualThemeChanged);
- or -
frameworkElement.onactualthemechanged = onActualThemeChanged;
Public Custom Event ActualThemeChanged As TypedEventHandler(Of FrameworkElement, Object) 
<frameworkElement ActualTheme="eventhandler"/>

이벤트 유형

Windows 요구 사항

디바이스 패밀리
Windows 10 Fall Creators Update (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v5.0에서 도입되었습니다.)

적용 대상