Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WeekNumberRule Enum

Lists rules used to determine the first week of the year.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum WeekNumberRule

#Members

Name Description
Default

The rule specified by the System.Globalization.DateTimeFormatInfo.CalendarWeekRule property which defines a calendar week for a specific culture.

FirstDay

Indicates that 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

Indicates that 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

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

#Related API Members

The following properties accept/return WeekNumberRule values:

See Also