Skip to main content
All docs
V26.1
  • ID

    GanttBuilder<T>.FirstDayOfWeek(FirstDayOfWeek) Method

    OBSOLETE

    Use FirstDayOfWeek instead.

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

    Namespace: DevExtreme.AspNet.Mvc.Builders

    Assembly: DevExtreme.AspNet.Core.dll

    Declaration

    [Obsolete("Use FirstDayOfWeek(DayOfWeek value) instead.")]
    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