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.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public DayOfWeek FirstDayOfWeek { get; set; }
Property Value
Type | Description |
---|---|
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.
<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