DisplayEnhancementOverride.CanOverrideChanged 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當覆寫顯示設定的功能已變更時引發。
// 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)
事件類型
TypedEventHandler<DisplayEnhancementOverride,IInspectable>