Back to Devexpress

GanttBuilder<T> Class

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-ganttbuilder-1.md

latest23.3 KB
Original Source

GanttBuilder<T> Class

A Gantt control.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public class GanttBuilder<T> :
    WidgetBuilder

Type Parameters

NameDescription
T

The data type.

|

The following members return GanttBuilder<T> objects:

Show 142 links

Remarks

Call the Gantt helper method to create a new Gantt control. The method creates a GanttBuilder<T> class instance whose members allow you to specify control options.

csharp
@(Html.DevExtreme().Gantt() // create a Gantt
    // call methods to specify control options
)

To create a strongly-typed Gantt, specify a data model in the Gantt<T> method as a type parameter.

csharp
@(Html.DevExtreme().Gantt<SampleModel>() // create a strongly-typed Gantt
    // call methods to specify control options
)

Inheritance

Object OptionsOwnerBuilder WidgetBuilder GanttBuilder<T>

See Also

GanttBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace