Skip to main content
All docs
V25.2
  • ID

    CardViewBuilder<T>.CardTemplate(TemplateName) 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(
        TemplateName name
    )

    Parameters

    Name Type Description
    name TemplateName

    The template name.

    Returns

    Type Description
    CardViewBuilder<T>

    A reference to this instance after the method is called.

    See Also