Intersoft ClientUI Documentation
FirstDayOfWeek Property (UXCalendar)



Gets or sets a value that represents the first day of the week.
Syntax
<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);
}
Remarks

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"/>

Requirements

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

See Also

Reference

UXCalendar Class
UXCalendar Members

Concepts

UXCalendar

Send Feedback