property Calendar.ShowWeeks as Boolean
Retrieves or sets a value that indicates whether the weeks header is visible or hidden.

 TypeDescription 
   Boolean A boolean expression that indicates whether the weeks header is visible or hidden.  

Use the ShowWeeks property to show the weeks header. The weeks header displays the week number into the year. If the SingleSel is False, by clicking into the weeks header, the entire week is selected. Use the ShowDays property to hide the week days header. Use the HeaderBackColor and HeaderForeColor properties to change the background and foreground colors of the weeks header. If the FirstDay property is Monday, the calendar shows the week numbers according ISO 8601 standard. Use the ShowNonMonthDays property to specify whether the dates that are not part of the month are visible or hidden.

In [ISO8601], the week number is defined by: 

 


Send comments on this topic.
© 1999-2006 Exontrol Inc, Software. All rights reserved.