All docs
V21.1
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttViewSettings.FirstDayOfWeek Property

Specifies the first day of the week.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v21.1.dll

Declaration

[DefaultValue(FirstDayOfWeek.Default)]
public FirstDayOfWeek FirstDayOfWeek { get; set; }

Property Value

Type Default Description
FirstDayOfWeek

Default

An enumeration values.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to FirstDayOfWeek
ASP.NET MVC Extensions GanttSettings
.SettingsGanttView.FirstDayOfWeek
MVCxGantt
.SettingsGanttView.FirstDayOfWeek
ASP.NET Web Forms Controls ASPxGantt
.SettingsGanttView.FirstDayOfWeek

Remarks

Run Demo: ASPxGantt - Chart Appearance Run Demo: MVCxGantt - Chart Appearance

Web Forms:

<dx:ASPxGantt ID="Gantt" runat="server" ...>
    //...
    <SettingsGanttView FirstDayOfWeek="Sunday" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.SettingsGanttView.FirstDayOfWeek = FirstDayOfWeek.Sunday;
    ...
}).Bind(
    GanttDataProvider.Tasks, 
    GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, 
    GanttDataProvider.ResourceAssignments
).GetHtml()
See Also