Condividi tramite


SysHolographicWindowingEnvironment.IsPreviewActiveChanged Evento

Definizione

Evento generato quando l'anteprima diventa attiva o inattiva.

Importante

Questa API è disponibile solo per i componenti del sistema operativo Windows. Le chiamate a queste API avranno esito negativo in fase di esecuzione per tutti gli altri processi. Queste API possono essere modificate o rimosse nelle versioni future di Windows.

// 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) 

Tipo evento

Si applica a