Compartilhar via


CoreTextEditContext.FocusRemoved Evento

Definição

Ocorre quando o foco foi removido à força de um controle de entrada de texto. O aplicativo deve manipular esse evento para remover o foco do controle de entrada de texto adequadamente.

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

Tipo de evento

Aplica-se a