CardViewBuilder<T>.OnContextMenuPreparing(RazorBlock) Method
A function that is executed before the context menu is rendered. Mirrors the client-side onContextMenuPreparing option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public CardViewBuilder<T> OnContextMenuPreparing(
RazorBlock jsFunc
)
Parameters
| Name | Type | Description |
|---|---|---|
| jsFunc | RazorBlock | The Razor |
Returns
| Type | Description |
|---|---|
| CardViewBuilder<T> | A reference to this instance after the method is called. |
See Also