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) 

事件类型

适用于