GanttBuilder<T>.TaskContentTemplate(String) Method
In This Article
Specifies custom content for the task. Mirrors the client-side taskContentTemplate option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public GanttBuilder<T> TaskContentTemplate(
string templateContent
)
#Parameters
Name | Type | Description |
---|---|---|
template |
String | A string that contains the template. |
#Returns
Type | Description |
---|---|
Gantt |
A reference to this instance after the method is called. |
#Remarks
@(Html.DevExtreme().Gantt()
.TaskContentTemplate("Template content")
)
See Also