ChatBuilder.OnMessageDeleting(RazorBlock) Method
A function that is executed before a message is removed from the UI. Mirrors the client-side onMessageDeleting option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public ChatBuilder OnMessageDeleting(
RazorBlock jsFunc
)
Parameters
| Name | Type | Description |
|---|---|---|
| jsFunc | RazorBlock | The Razor |
Returns
| Type | Description |
|---|---|
| ChatBuilder | A reference to this instance after the method is called. |
See Also