Intersoft ClientUI Documentation
FirstDayOfWeek Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace > UXCalendar Class : FirstDayOfWeek Property






Gets or sets a value that represents the first day of the week.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property FirstDayOfWeek As DayOfWeek
Visual Basic (Usage)Copy Code
Dim instance As UXCalendar
Dim value As DayOfWeek
 
instance.FirstDayOfWeek = value
 
value = instance.FirstDayOfWeek
C# 
[CategoryAttribute("Common Properties")]
public DayOfWeek FirstDayOfWeek {get; set;}
Delphi 
public read-write property FirstDayOfWeek: DayOfWeek; 
JScript 
CategoryAttribute("Common Properties")
public function get,set FirstDayOfWeek : DayOfWeek
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property DayOfWeek get_FirstDayOfWeek();
public: __property void set_FirstDayOfWeek( 
   DayOfWeek value
);
C++/CLI 
[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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.