Intersoft.Client.UI.ScheduleView Namespace > UXScheduleMonthView Class : WeekNumberRule Property |
<CategoryAttribute("Common Properties")> Public Property WeekNumberRule As CalendarWeekRule
Dim instance As UXScheduleMonthView Dim value As CalendarWeekRule instance.WeekNumberRule = value value = instance.WeekNumberRule
[CategoryAttribute("Common Properties")] public CalendarWeekRule WeekNumberRule {get; set;}
[CategoryAttribute("Common Properties")] public: property CalendarWeekRule WeekNumberRule { CalendarWeekRule get(); void set ( CalendarWeekRule value); }
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.
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