CoreTextEditContext.FocusRemoved 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 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)