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






Gets or sets the value that indicates whether or not week number is displayed.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property ShowWeekNumber As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXScheduleMonthView
Dim value As Boolean
 
instance.ShowWeekNumber = value
 
value = instance.ShowWeekNumber
C# 
[CategoryAttribute("Common Properties")]
public bool ShowWeekNumber {get; set;}
Delphi 
public read-write property ShowWeekNumber: Boolean; 
JScript 
CategoryAttribute("Common Properties")
public function get,set ShowWeekNumber : boolean
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property bool get_ShowWeekNumber();
public: __property void set_ShowWeekNumber( 
   bool value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property bool ShowWeekNumber {
   bool get();
   void set (    bool 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.