RichEditBuilder.OnGotFocus(String) Method
Assigns an event handler to the GotFocus event.
Namespace: DevExpress.AspNetCore.RichEdit
Assembly: DevExpress.AspNetCore.RichEdit.v24.2.dll
NuGet Package: DevExpress.AspNetCore.RichEdit
#Declaration
public RichEditBuilder OnGotFocus(
string callback
)
#Parameters
Name | Type | Description |
---|---|---|
callback | String | The name of the Java |
#Returns
Type | Description |
---|---|
Rich |
The builder for the Rich Text Editor. |
#Remarks
The GotFocus event occurs when the control receives focus.
@(Html.DevExpress().RichEdit("richEdit")
.OnGotFocus("function(s,e) { /* your custom actions */ }")
// ...