Share via


CoreTextEditContext.FormatUpdating Event

Definition

Occurs when the text input server needs to apply a different format to a particular range of text. This usually happens during 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) 

Event Type

Applies to