ThemeSettings.Changed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This event is raised when one of the ThemeSettings object's properties has changed.
// Register
event_token Changed(TypedEventHandler<ThemeSettings, IInspectable const&> const& handler) const;
// Revoke with event_token
void Changed(event_token const* cookie) const;
// Revoke with event_revoker
ThemeSettings::Changed_revoker Changed(auto_revoke_t, TypedEventHandler<ThemeSettings, IInspectable const&> const& handler) const;
public event TypedEventHandler<ThemeSettings,object> Changed;
function onChanged(eventArgs) { /* Your code */ }
themeSettings.addEventListener("changed", onChanged);
themeSettings.removeEventListener("changed", onChanged);
- or -
themeSettings.onchanged = onChanged;
Public Custom Event Changed As TypedEventHandler(Of ThemeSettings, Object)
Event Type
TypedEventHandler<ThemeSettings,IInspectable>
Remarks
The Changed event is only raised while the ThemeSettings object is alive. Developers must ensure that applications keep a reference to the object as long as they want to receive the event.
The Changed event is only raised for as long as the window represented by WindowId is alive (has not yet received WM_NCDESTROY).