Sdílet prostřednictvím


CoreFrameworkInputView.OcclusionsChanged Event

Definition

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 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) 

Event Type

Remarks

The application must be in the foreground for this event to fire.

Applies to

See also