CoreTextEditContext.FormatUpdating Événement

Définition

Se produit lorsque le serveur d’entrée de texte doit appliquer un format différent à une plage de texte particulière. Cela se produit généralement pendant la composition.

// Register
event_token FormatUpdating(TypedEventHandler<CoreTextEditContext, CoreTextFormatUpdatingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreTextEditContext::FormatUpdating_revoker FormatUpdating(auto_revoke_t, TypedEventHandler<CoreTextEditContext, CoreTextFormatUpdatingEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreTextEditContext,CoreTextFormatUpdatingEventArgs> FormatUpdating;
function onFormatUpdating(eventArgs) { /* Your code */ }
coreTextEditContext.addEventListener("formatupdating", onFormatUpdating);
coreTextEditContext.removeEventListener("formatupdating", onFormatUpdating);
- or -
coreTextEditContext.onformatupdating = onFormatUpdating;
Public Custom Event FormatUpdating As TypedEventHandler(Of CoreTextEditContext, CoreTextFormatUpdatingEventArgs) 

Type d'événement

S’applique à