CoreInputView.PrimaryViewShowing 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 before the input pane associated with the CoreInputView is shown (if hidden).
// Register
event_token PrimaryViewShowing(TypedEventHandler<CoreInputView, CoreInputViewShowingEventArgs const&> const& handler) const;
// Revoke with event_token
void PrimaryViewShowing(event_token const* cookie) const;
// Revoke with event_revoker
CoreInputView::PrimaryViewShowing_revoker PrimaryViewShowing(auto_revoke_t, TypedEventHandler<CoreInputView, CoreInputViewShowingEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreInputView,CoreInputViewShowingEventArgs> PrimaryViewShowing;
function onPrimaryViewShowing(eventArgs) { /* Your code */ }
coreInputView.addEventListener("primaryviewshowing", onPrimaryViewShowing);
coreInputView.removeEventListener("primaryviewshowing", onPrimaryViewShowing);
- or -
coreInputView.onprimaryviewshowing = onPrimaryViewShowing;
Public Custom Event PrimaryViewShowing As TypedEventHandler(Of CoreInputView, CoreInputViewShowingEventArgs)
Event Type
Windows requirements
Device family |
Windows 10, version 2004 (introduced in 10.0.19041.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v10.0)
|
Remarks
Primary view refers to either of the CoreInputViewKind.Keyboard or CoreInputViewKind.Handwriting views, while CoreInputView can be any of the values from CoreInputViewKind.