Back to Devexpress

SchedulerBuilder<T>.FirstDayOfWeek(FirstDayOfWeek) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-schedulerbuilder-1-dot-firstdayofweek-x28-devextreme-dot-aspnet-dot-mvc-dot-firstdayofweek-x29.md

latest1.4 KB
Original Source

SchedulerBuilder<T>.FirstDayOfWeek(FirstDayOfWeek) Method

Specifies the first day of a week. Does not apply to the agenda view. Mirrors the client-side firstDayOfWeek option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public SchedulerBuilder<T> FirstDayOfWeek(
    FirstDayOfWeek value
)

Parameters

NameTypeDescription
valueFirstDayOfWeek

The option value.

|

Returns

TypeDescription
SchedulerBuilder<T>

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Scheduler()
    .FirstDayOfWeek(FirstDayOfWeek.Friday)
)

See Also

SchedulerBuilder<T> Class

SchedulerBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace