共用方式為


DisplayEnhancementOverride.IsOverrideActiveChanged 事件

定義

變更 IsOverrideActive 屬性時引發。

// Register
event_token IsOverrideActiveChanged(TypedEventHandler<DisplayEnhancementOverride, IInspectable const&> const& handler) const;

// Revoke with event_token
void IsOverrideActiveChanged(event_token const* cookie) const;

// Revoke with event_revoker
DisplayEnhancementOverride::IsOverrideActiveChanged_revoker IsOverrideActiveChanged(auto_revoke_t, TypedEventHandler<DisplayEnhancementOverride, IInspectable const&> const& handler) const;
public event TypedEventHandler<DisplayEnhancementOverride,object> IsOverrideActiveChanged;
function onIsOverrideActiveChanged(eventArgs) { /* Your code */ }
displayEnhancementOverride.addEventListener("isoverrideactivechanged", onIsOverrideActiveChanged);
displayEnhancementOverride.removeEventListener("isoverrideactivechanged", onIsOverrideActiveChanged);
- or -
displayEnhancementOverride.onisoverrideactivechanged = onIsOverrideActiveChanged;
Public Custom Event IsOverrideActiveChanged As TypedEventHandler(Of DisplayEnhancementOverride, Object) 

事件類型

適用於