DisplayEnhancementOverride.CanOverrideChanged 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.
Raised when the ability to override the display settings have been changed.
// Register
event_token CanOverrideChanged(TypedEventHandler<DisplayEnhancementOverride, IInspectable const&> const& handler) const;
// Revoke with event_token
void CanOverrideChanged(event_token const* cookie) const;
// Revoke with event_revoker
DisplayEnhancementOverride::CanOverrideChanged_revoker CanOverrideChanged(auto_revoke_t, TypedEventHandler<DisplayEnhancementOverride, IInspectable const&> const& handler) const;
public event TypedEventHandler<DisplayEnhancementOverride,object> CanOverrideChanged;
function onCanOverrideChanged(eventArgs) { /* Your code */ }
displayEnhancementOverride.addEventListener("canoverridechanged", onCanOverrideChanged);
displayEnhancementOverride.removeEventListener("canoverridechanged", onCanOverrideChanged);
- or -
displayEnhancementOverride.oncanoverridechanged = onCanOverrideChanged;
Public Custom Event CanOverrideChanged As TypedEventHandler(Of DisplayEnhancementOverride, Object)
Event Type
TypedEventHandler<DisplayEnhancementOverride,IInspectable>