GanttBuilder<T>.FirstDayOfWeek(FirstDayOfWeek) Method
In This Article
Specifies the first day of a week. Mirrors the client-side firstDayOfWeek option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public GanttBuilder<T> FirstDayOfWeek(
FirstDayOfWeek value
)
#Parameters
Name | Type | Description |
---|---|---|
value | First |
An enumeration value. |
#Returns
Type | Description |
---|---|
Gantt |
A reference to the Gantt object. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().Gantt()
.FirstDayOfWeek(FirstDayOfWeek.Monday)
)
See Also