Share via


CoreTextEditContext.FocusRemoved Event

Definition

Occurs when focus was forcibly removed from a text input control. The application should handle this event to remove focus for the text input control accordingly.

// Register
event_token FocusRemoved(TypedEventHandler<CoreTextEditContext, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
CoreTextEditContext::FocusRemoved_revoker FocusRemoved(auto_revoke_t, TypedEventHandler<CoreTextEditContext, IInspectable const&> const& handler) const;
public event TypedEventHandler<CoreTextEditContext,object> FocusRemoved;
function onFocusRemoved(eventArgs) { /* Your code */ }
coreTextEditContext.addEventListener("focusremoved", onFocusRemoved);
coreTextEditContext.removeEventListener("focusremoved", onFocusRemoved);
- or -
coreTextEditContext.onfocusremoved = onFocusRemoved;
Public Custom Event FocusRemoved As TypedEventHandler(Of CoreTextEditContext, Object) 

Event Type

Applies to