Version

WeekRule Property

Returns or sets the rule used to determine the first week of the year.
Syntax
'Declaration
 
Public Property WeekRule As Nullable(Of CalendarWeekRule)
public Nullable<CalendarWeekRule> WeekRule {get; set;}
Remarks

By default the System.Globalization.DateTimeFormatInfo.CalendarWeekRule of the Culture associated with the control's System.Windows.FrameworkElement.Language is used to determine the week numbers for dates displayed within the control. The WeekRule is used when calculating the Infragistics.Controls.Editors.Primitives.CalendarItemArea.WeekNumbers.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also