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