Skip to main content
ID

GanttBuilder<T>.FirstDayOfWeek(FirstDayOfWeek) Method

Specifies the first day of a week. Mirrors the client-side firstDayOfWeek option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public GanttBuilder<T> FirstDayOfWeek(
    FirstDayOfWeek value
)

Parameters

Name Type Description
value FirstDayOfWeek

An enumeration value.

Returns

Type Description
GanttBuilder<T>

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