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






Gets or sets a value that determines the rule for calculating the week number.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property WeekNumberRule As CalendarWeekRule
Visual Basic (Usage)Copy Code
Dim instance As UXScheduleMonthView
Dim value As CalendarWeekRule
 
instance.WeekNumberRule = value
 
value = instance.WeekNumberRule
C# 
[CategoryAttribute("Common Properties")]
public CalendarWeekRule WeekNumberRule {get; set;}
Delphi 
public read-write property WeekNumberRule: CalendarWeekRule; 
JScript 
CategoryAttribute("Common Properties")
public function get,set WeekNumberRule : CalendarWeekRule
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property CalendarWeekRule get_WeekNumberRule();
public: __property void set_WeekNumberRule( 
   CalendarWeekRule value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property CalendarWeekRule WeekNumberRule {
   CalendarWeekRule get();
   void set (    CalendarWeekRule value);
}

Remarks

In each row, there is a row header that indicates the date range of the following week. You can change this indicator to a week number by setting the ShowWeekNumber property to true.

NumberOfDays Copy Code
<Intersoft:UXScheduleMonthView DisplayDate="1/2/2012" NumberOfDays="28" ShowWeekNumber="True"
            EventsSource="{Binding Events}" CategoriesSource="{Binding Categories}" ResourcesSource="{Binding Resources}"/>

 Furthermore, you can also set the WeekNumberRule to determine how the week number should be calculated.

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.