CoreFrameworkInputView.OcclusionsChanged 事件

定义

当一个或多个 CoreInputViewOcclusion 对象更改其位置或遮挡区域以响应与 CoreFrameworkInputView 关联的输入窗格的重新定位时发生。

// Register
event_token OcclusionsChanged(TypedEventHandler<CoreFrameworkInputView, CoreFrameworkInputViewOcclusionsChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreFrameworkInputView::OcclusionsChanged_revoker OcclusionsChanged(auto_revoke_t, TypedEventHandler<CoreFrameworkInputView, CoreFrameworkInputViewOcclusionsChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreFrameworkInputView,CoreFrameworkInputViewOcclusionsChangedEventArgs> OcclusionsChanged;
function onOcclusionsChanged(eventArgs) { /* Your code */ }
coreFrameworkInputView.addEventListener("occlusionschanged", onOcclusionsChanged);
coreFrameworkInputView.removeEventListener("occlusionschanged", onOcclusionsChanged);
- or -
coreFrameworkInputView.onocclusionschanged = onOcclusionsChanged;
Public Custom Event OcclusionsChanged As TypedEventHandler(Of CoreFrameworkInputView, CoreFrameworkInputViewOcclusionsChangedEventArgs) 

事件类型

注解

应用程序必须位于前台才能触发此事件。

适用于

另请参阅