CoreInputView.OcclusionsChanged 事件

定义

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

// Register
event_token OcclusionsChanged(TypedEventHandler<CoreInputView, CoreInputViewOcclusionsChangedEventArgs const&> const& handler) const;

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

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

事件类型

注解

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

适用于

另请参阅