Intersoft ClientUI Documentation
FirstDayOfWeek Property
See Also  Send Feedback
Intersoft.Client.UI.ScheduleView Namespace > UXScheduleWeekView Class : FirstDayOfWeek Property






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

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("CommonProperties")>
Public Property FirstDayOfWeek As DayOfWeek
Visual Basic (Usage)Copy Code
Dim instance As UXScheduleWeekView
Dim value As DayOfWeek
 
instance.FirstDayOfWeek = value
 
value = instance.FirstDayOfWeek
C# 
[CategoryAttribute("CommonProperties")]
public DayOfWeek FirstDayOfWeek {get; set;}
Delphi 
public read-write property FirstDayOfWeek: DayOfWeek; 
JScript 
CategoryAttribute("CommonProperties")
public function get,set FirstDayOfWeek : DayOfWeek
Managed Extensions for C++ 
[CategoryAttribute("CommonProperties")]
public: __property DayOfWeek get_FirstDayOfWeek();
public: __property void set_FirstDayOfWeek( 
   DayOfWeek value
);
C++/CLI 
[CategoryAttribute("CommonProperties")]
public:
property DayOfWeek FirstDayOfWeek {
   DayOfWeek get();
   void set (    DayOfWeek value);
}

Remarks

UXScheduleWeekView is used to display data in weekly manner. Often times, the starting day of a week might not be Monday or Sunday. It can be Tuesday, Saturday or any other day. To achieve this scenario, you can customize the FirstDayOfWeek property of the UXScheduleWeekView control.

First day of Week Copy Code
<Intersoft:UXScheduleWeekView DisplayDate="1/2/2012" FirstDayOfWeek="Tuesday"
            EventsSource="{Binding Events}" CategoriesSource="{Binding Categories}" ResourcesSource="{Binding Resources}"/>

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.