SelectionChangedEvent Class
An event that occurs when selection is changed in the document.
#Declaration
export class SelectionChangedEvent extends RichEditEvent<EventArgs>
#Remarks
You can define the SelectionChanged event handler either at the server side, at the client side, or at runtime.
Use the OnSelectionChanged(String) method to specify the event handler.
@(Html.DevExpress().RichEdit("richEdit")
.OnSelectionChanged("function(s,e) {console.log('The current position is ' + s.selection.active);}")
// ...
The event handler receives an argument of the EventArgs type.