The requested page is not available for the requested platform. You are viewing the content for Default platform.

ToastBuilder.ContentTemplate(TemplateName) Method

This method specifies the client-side contentTemplate template. Refer to the Templates article for code examples and more information about template syntax.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ToastBuilder ContentTemplate(
    TemplateName name
)

Parameters

Name Type Description
name TemplateName

Returns

Type Description
ToastBuilder

Remarks

In Razor files, use the following notation to set the option's value:

@Html.DevExtreme().Toast().ContentTemplate(...)
See Also