Skip to main content

WeekNumberRule Enum

Lists the values used to specify the rule for determining the first week of the year.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public enum WeekNumberRule

Members

Name Description
FirstDay

The first week of the year starts on the first day of the year and ends before the following designated first day of the week.

FirstFullWeek

The first week of the year begins on the first occurrence of the designated first day of the week on or after the first day of the year.

FirstFourDayWeek

The first week of the year is the first week with four or more days before the designated first day of the week.

System

The week number rule is determined by the current culture.

Related API Members

The following properties accept/return WeekNumberRule values:

Remarks

The values listed by this enumeration are used to set the DateNavigator.WeekNumberRule property.

See Also