Skip to main content

BootstrapCalendarProperties.ShowWeekNumbers Property

Gets or sets a value that specifies whether the week number section is displayed within the calendar.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue(true)]
public bool ShowWeekNumbers { get; set; }

Property Value

Type Default Description
Boolean true

true, if the week number section is visible, otherwise, false.

Remarks

Use the ShowWeekNumbers property to specify whether week number markers are displayed within the calendar.

Note that the calendar’s week numbers are represented as ISO week numbers. According to the ISO (International Standards Organization) in document ISO 8601, an ISO week starts on a Monday (which is counted as day 1 of the week), and week 1 for a given year is the week that contains the first Thursday of the Gregorian year. Week numbers in ISO 8601 are integers from 1 to 52 or 53; parts of week 1 may be in the previous calendar year; parts of week 52 may be in the following calendar year; and if a year has a week 53, parts of it must be in the following calendar year.

Note

The ShowWeekNumbers property synchronizes its value with the editor’s BootstrapCalendar.ShowWeekNumbers property.

See Also