共用方式為


DisplayInformation.IsStereoEnabledChanged 事件

定義

發生于 IsStereoEnabled 屬性因為支援身歷聲 3D 的變更而變更時。

// Register
event_token IsStereoEnabledChanged(TypedEventHandler<DisplayInformation, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
DisplayInformation::IsStereoEnabledChanged_revoker IsStereoEnabledChanged(auto_revoke_t, TypedEventHandler<DisplayInformation, IInspectable const&> const& handler) const;
public event TypedEventHandler<DisplayInformation,object> IsStereoEnabledChanged;
function onIsStereoEnabledChanged(eventArgs) { /* Your code */ }
displayInformation.addEventListener("isstereoenabledchanged", onIsStereoEnabledChanged);
displayInformation.removeEventListener("isstereoenabledchanged", onIsStereoEnabledChanged);
- or -
displayInformation.onisstereoenabledchanged = onIsStereoEnabledChanged;
Public Custom Event IsStereoEnabledChanged As TypedEventHandler(Of DisplayInformation, Object) 

事件類型

適用於