Back to Devexpress

DxDateRangePicker<T>.FirstDayOfWeek Property

blazor-devexpress-dot-blazor-dot-dxdaterangepicker-1-02a3b557.md

latest1.4 KB
Original Source

DxDateRangePicker<T>.FirstDayOfWeek Property

Specifies the first day of the week in the Range Date Picker’s drop-down calendar.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Parameter]
public DayOfWeek FirstDayOfWeek { get; set; }

Property Value

TypeDescription
DayOfWeek

The day of the week.

|

Remarks

The first day of a week in the Date Range Picker’s calendar depends on the current culture settings. Use the FirstDayOfWeek property to specify a different day.

razor
<DxDateRangePicker StartDate="DateTime.Today"
                   EndDate="DateTime.Today.AddDays(7)"
                   FirstDayOfWeek="DayOfWeek.Monday">
</DxDateRangePicker>

To specify a rule that determines the first week of the year, use the WeekNumberRule property.

See Also

DxDateRangePicker<T> Class

DxDateRangePicker<T> Members

DevExpress.Blazor Namespace