Back to Devexpress

GanttBuilder<T>.TaskProgressTooltipContentTemplate(JS) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-ganttbuilder-1-dot-taskprogresstooltipcontenttemplate-x28-devextreme-dot-aspnet-dot-mvc-dot-js-x29.md

latest1.8 KB
Original Source

GanttBuilder<T>.TaskProgressTooltipContentTemplate(JS) Method

Specifies custom content for the tooltip that displays the task's progress while the progress handler is resized in the UI. Mirrors the client-side taskProgressTooltipContentTemplate option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public GanttBuilder<T> TaskProgressTooltipContentTemplate(
    JS value
)

Parameters

NameTypeDescription
valueJS

A JavaScript function that specifies the template.

|

Returns

TypeDescription
GanttBuilder<T>

A reference to this instance after the method is called.

|

Remarks

This method allows you to define a template using a JavaScript function.

Refer to JavaScript Functions as Templates for more information.

cshtml
@(Html.DevExtreme().Gantt()
    .TaskProgressTooltipContentTemplate(new JS("my_template"))
)

<script>
    function my_template() {
        // Template rendering logic
    }
</script>

See Also

GanttBuilder<T> Class

GanttBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace