Skip to main content
A newer version of this page is available. .
ID

GanttBuilder<T>.TaskContentTemplate(String) Method

Mirrors the client-side taskContentTemplate option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public GanttBuilder<T> TaskContentTemplate(
    string templateContent
)

Parameters

Name Type Description
templateContent String

A string that contains the template.

Returns

Type Description
GanttBuilder<T>

A reference to this instance after the method is called.

Remarks

Run Demo: Gantt - Task Template

@(Html.DevExtreme().Gantt()
    .TaskContentTemplate("Template content")
)
See Also