CardViewBuilder<T>.CardTemplate(RazorBlock) Method
Specifies a custom template for the card. Mirrors the client-side cardTemplate option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public CardViewBuilder<T> CardTemplate(
RazorBlock templateContent
)
Parameters
| Name | Type | Description |
|---|---|---|
| templateContent | RazorBlock | The Razor |
Returns
| Type | Description |
|---|---|
| CardViewBuilder<T> | A reference to this instance after the method is called. |
See Also