ClosedCaptionTheme.SelectedThemeChanged 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 selected closed caption theme changes, or when the settings of the currently selected theme are modified.
// Register
static event_token SelectedThemeChanged(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
static void SelectedThemeChanged(event_token const* cookie) const;
// Revoke with event_revoker
static ClosedCaptionTheme::SelectedThemeChanged_revoker SelectedThemeChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> SelectedThemeChanged;
function onSelectedThemeChanged(eventArgs) { /* Your code */ }
Windows.Media.ClosedCaptioning.ClosedCaptionTheme.addEventListener("selectedthemechanged", onSelectedThemeChanged);
Windows.Media.ClosedCaptioning.ClosedCaptionTheme.removeEventListener("selectedthemechanged", onSelectedThemeChanged);
- or -
Windows.Media.ClosedCaptioning.ClosedCaptionTheme.onselectedthemechanged = onSelectedThemeChanged;
Public Shared Custom Event SelectedThemeChanged As EventHandler(Of Object)