SysHolographicWindowingEnvironment.IsPreviewActiveChanged Событие
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Событие, которое возникает, когда предварительная версия становится активной или неактивной.
Важно!
Этот API доступен только для компонентов операционной системы Windows. Вызовы этих API завершатся ошибкой во время выполнения для всех остальных процессов. Эти API-интерфейсы могут быть изменены или удалены в будущих выпусках 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)
Тип события
TypedEventHandler<SysHolographicWindowingEnvironment,Object>
TypedEventHandler<SysHolographicWindowingEnvironment,IInspectable>