Skip to main content
ID

GanttBuilder<T>.TaskContentTemplate(String) Method

Specifies custom content for the task. 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