RazorBlock Delegate
Represents the Razor @<text> block. You can use it to specify templates and handle events and callbacks.
Namespace: DevExtreme.AspNet.Mvc
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public delegate IHtmlContent RazorBlock(
object item
);
Parameters
| Name | Type | Description |
|---|---|---|
| item | Object | The Razor block’s argument. |
Returns
| Type | Description |
|---|---|
| IHtmlContent | The Razor block’s return value. |
See Also