aspnetcore-js-devexpress-dot-richedit-6e3be905.md
An event that occurs when the characters’ formatting is changed.
export class CharacterPropertiesChangedEvent extends RichEditEvent<ContentChangedEventArgs>
You can define the CharacterPropertiesChanged event handler either at the server side, at the client side, or at runtime.
Use the OnCharacterPropertiesChanged(String) method to specify the event handler.
@(Html.DevExpress().RichEdit("richEdit")
.OnCharacterPropertiesChanged("function(s,e){ /* your custom actions */ }")
// ...
Use the characterPropertiesChanged property to specify the event handler.
const options = DevExpress.RichEdit.createOptions();
options.events.characterPropertiesChanged = function(s,e) { /* your custom actions */ };
The characterPropertiesChanged property provides access to the addHandler(handler), removeHandler(handler), and clearHandlers methods that allow you to dynamically add and remove event handlers.
richEdit.events.characterPropertiesChanged.addHandler(function(s, e) { /* your custom actions */ });
The event handler receives an argument of the ContentChangedEventArgs type. The argument’s properties provide information specific to this event.
Event<TSource, TEventArgs> RichEditEvent<TEventArgs> CharacterPropertiesChangedEvent
See Also