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. The DisplayWeekNumberAs property specifies the way the control displays the week number. 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: