Skip to main content
A newer version of this page is available. .

GotFocusEvent Class

An event that occurs when the control receives focus.

Declaration

export class GotFocusEvent extends RichEditEvent<EventArgs>

Remarks

You can define the GotFocus event handler either at the server side, at the client side, or at runtime.

Use the OnGotFocus(String) method to specify the event handler.

@(Html.DevExpress().RichEdit("richEdit")
 .OnGotFocus("function(s,e) { /* your custom actions */ }")
 // ...

The event handler receives an argument of the EventArgs type.

See Also