CoreInputView.OcclusionsChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when one or more CoreInputViewOcclusion objects change their position or occluding area in response to the repositioning of the input pane associated with the 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)
Event Type
Remarks
The application must be in the foreground for this event to fire.