Intersoft.Client.UI.Aqua.UXInput Namespace > UXCalendar Class : FirstDayOfWeek Property |
<CategoryAttribute("Common Properties")> Public Property FirstDayOfWeek As DayOfWeek
Dim instance As UXCalendar Dim value As DayOfWeek instance.FirstDayOfWeek = value value = instance.FirstDayOfWeek
[CategoryAttribute("Common Properties")] public DayOfWeek FirstDayOfWeek {get; set;}
[CategoryAttribute("Common Properties")] public: property DayOfWeek FirstDayOfWeek { DayOfWeek get(); void set ( DayOfWeek value); }
The calculation of week number is determined with FirstDayOfWeek and WeekNumberRule property. The combination of these two properties will affect the week number value of each week in UXCalendar.
The following example shows how to customize the week number behavior.
XAML |
Copy Code
|
---|---|
<Intersoft:UXCalendar x:Name="UXCalendar1" DisplayDate="12/1/2010" WeekNumberRule="FirstFullWeek" FirstDayOfWeek="Monday"/> |
Target Platforms: Windows 7, 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