AccessibilitySettings.HighContrastChanged AccessibilitySettings.HighContrastChanged AccessibilitySettings.HighContrastChanged AccessibilitySettings.HighContrastChanged AccessibilitySettings.HighContrastChanged Event

Definition

Occurs when the system high contrast feature turns on or off.

public : event TypedEventHandler<AccessibilitySettings, object> HighContrastChanged
// Register
event_token HighContrastChanged(TypedEventHandler<AccessibilitySettings, object> const& handler) const;

// Revoke with event_token
void HighContrastChanged(event_token const& cookie) const;

// Revoke with event_revoker
HighContrastChanged_revoker HighContrastChanged(auto_revoke_t, TypedEventHandler<AccessibilitySettings, object> const& handler) const;
public event TypedEventHandler<AccessibilitySettings, object> HighContrastChanged
Public Event HighContrastChanged As TypedEventHandler (Of AccessibilitySettings, object)
function onHighContrastChanged(eventArgs){/* Your code */}


accessibilitySettings.addEventListener("highcontrastchanged", onHighContrastChanged);
accessibilitySettings.removeEventListener("highcontrastchanged", onHighContrastChanged);