ClosedCaptionTheme.ThemesChanged 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.
Occurs when the list of available closed caption themes changes. This includes when a theme is added, removed, or when a theme's settings are modified.
// Register
static event_token ThemesChanged(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
static void ThemesChanged(event_token const* cookie) const;
// Revoke with event_revoker
static ClosedCaptionTheme::ThemesChanged_revoker ThemesChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> ThemesChanged;
function onThemesChanged(eventArgs) { /* Your code */ }
Windows.Media.ClosedCaptioning.ClosedCaptionTheme.addEventListener("themeschanged", onThemesChanged);
Windows.Media.ClosedCaptioning.ClosedCaptionTheme.removeEventListener("themeschanged", onThemesChanged);
- or -
Windows.Media.ClosedCaptioning.ClosedCaptionTheme.onthemeschanged = onThemesChanged;
Public Shared Custom Event ThemesChanged As EventHandler(Of Object)