Share via


Visual Basic: Windows Controls

ShowWeekNumbers Property

See Also   Example   Applies To

Returns or sets a value that determines if the week numbers are displayed next to each week.

Syntax

object.ShowWeekNumbers [= boolean]

The ShowWeekNumbers property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
boolean A Boolean expression specifying the status of the current date indicators.

Settings

The settings for boolean are:

Setting Description
True Week numbers are displayed.
False (Default) Week numbers are not displayed.

Remarks

Week numbers are displayed to the left of the week, and start from the first week of the calendar year.