Compartir a través de


SysHolographicWindowingEnvironment.IsPreviewActiveChanged Evento

Definición

Evento que se genera cuando la vista previa se activa o inactiva.

Importante

Esta API solo está disponible para los componentes del sistema operativo Windows. Se producirá un error en las llamadas a estas API en tiempo de ejecución para todos los demás procesos. Estas API se pueden modificar o quitar en futuras versiones de 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 de evento

Se aplica a