Skip to main content

DateNavigator.WeekNumberRule Property

Gets or sets the rule which specifies the first week of the year. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Editors

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

NuGet Package: DevExpress.Uwp.Controls

Declaration

public WeekNumberRule WeekNumberRule { get; set; }

Property Value

Type Description
WeekNumberRule

A WeekNumberRule enumeration value.

Available values:

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.

See Also