CoreTextEditContext.SelectionUpdating Evento

Definición

Se produce cuando el servidor de entrada de texto necesita modificar el intervalo de texto seleccionado actualmente en el control de entrada de texto. Este evento podría ser el resultado de que un procesador de entrada necesite seleccionar texto o mover el símbolo de intercalación. El control de entrada de texto debe establecer su intervalo de selección en consecuencia.

// Register
event_token SelectionUpdating(TypedEventHandler<CoreTextEditContext, CoreTextSelectionUpdatingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreTextEditContext::SelectionUpdating_revoker SelectionUpdating(auto_revoke_t, TypedEventHandler<CoreTextEditContext, CoreTextSelectionUpdatingEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreTextEditContext,CoreTextSelectionUpdatingEventArgs> SelectionUpdating;
function onSelectionUpdating(eventArgs) { /* Your code */ }
coreTextEditContext.addEventListener("selectionupdating", onSelectionUpdating);
coreTextEditContext.removeEventListener("selectionupdating", onSelectionUpdating);
- or -
coreTextEditContext.onselectionupdating = onSelectionUpdating;
Public Custom Event SelectionUpdating As TypedEventHandler(Of CoreTextEditContext, CoreTextSelectionUpdatingEventArgs) 

Tipo de evento

Se aplica a