Freigeben über


SysHolographicWindowingEnvironment.IsPreviewActiveChanged Ereignis

Definition

Das Ereignis, das ausgelöst wird, wenn die Vorschau aktiv oder inaktiv wird.

Wichtig

Diese API ist nur für Komponenten des Windows-Betriebssystems verfügbar. Aufrufe dieser APIs schlagen zur Laufzeit für alle anderen Prozesse fehl. Diese APIs können in zukünftigen Windows-Releases geändert oder entfernt werden.

// Register
event_token IsPreviewActiveChanged(TypedEventHandler<SysHolographicWindowingEnvironment, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
SysHolographicWindowingEnvironment::IsPreviewActiveChanged_revoker IsPreviewActiveChanged(auto_revoke_t, TypedEventHandler<SysHolographicWindowingEnvironment, IInspectable const&> const& handler) const;
public event TypedEventHandler<SysHolographicWindowingEnvironment,object> IsPreviewActiveChanged;
function onIsPreviewActiveChanged(eventArgs) { /* Your code */ }
sysHolographicWindowingEnvironment.addEventListener("ispreviewactivechanged", onIsPreviewActiveChanged);
sysHolographicWindowingEnvironment.removeEventListener("ispreviewactivechanged", onIsPreviewActiveChanged);
- or -
sysHolographicWindowingEnvironment.onispreviewactivechanged = onIsPreviewActiveChanged;
Public Custom Event IsPreviewActiveChanged As TypedEventHandler(Of SysHolographicWindowingEnvironment, Object) 

Ereignistyp

Gilt für: