Sdílet prostřednictvím


CoreFrameworkInputView.PrimaryViewAnimationStarting Event

Definition

Animations in the application that occur in response to the showing or hiding of the input pane associated with the CoreFrameworkInputView.

// Register
event_token PrimaryViewAnimationStarting(TypedEventHandler<CoreFrameworkInputView, CoreFrameworkInputViewAnimationStartingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreFrameworkInputView::PrimaryViewAnimationStarting_revoker PrimaryViewAnimationStarting(auto_revoke_t, TypedEventHandler<CoreFrameworkInputView, CoreFrameworkInputViewAnimationStartingEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreFrameworkInputView,CoreFrameworkInputViewAnimationStartingEventArgs> PrimaryViewAnimationStarting;
function onPrimaryViewAnimationStarting(eventArgs) { /* Your code */ }
coreFrameworkInputView.addEventListener("primaryviewanimationstarting", onPrimaryViewAnimationStarting);
coreFrameworkInputView.removeEventListener("primaryviewanimationstarting", onPrimaryViewAnimationStarting);
- or -
coreFrameworkInputView.onprimaryviewanimationstarting = onPrimaryViewAnimationStarting;
Public Custom Event PrimaryViewAnimationStarting As TypedEventHandler(Of CoreFrameworkInputView, CoreFrameworkInputViewAnimationStartingEventArgs) 

Event Type

Remarks

Primary view refers to either of the CoreInputViewKind.Keyboard or CoreInputViewKind.Handwriting views, while CoreInputView can be any of the values from CoreInputViewKind.

The application UI reflows based on the CoreInputViewOcclusion.OccludingRect, which is an empty rect when hiding.

Applies to

See also