DateNavigator.ShowWeekNumbers Property

Gets or sets a value indicating whether week numbers will be shown in the Date Navigator. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.DateNavigator

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public bool ShowWeekNumbers { get; set; }
Public Property ShowWeekNumbers As Boolean

Property Value

Type Description
Boolean

true to show week numbers; otherwise, false.

Remarks

Use the ShowWeekNumbers property to specify whether numbers should be shown to the left of the DateNavigator control for every week.

DateNavigator_ShowWeekNumbers

Examples

This example demonstrates how to customize the Date Navigator. To do this, it is necessary to modify the DateNavigator object.

<dxe:DateNavigator HighlightSpecialDates="True"
                   HighlightHolidays="True"
                   ShowTodayButton="True"
                   ShowWeekNumbers="True"
                   WeekNumberRule="FirstDay"
                   FirstDayOfWeek="Sunday"
                   IsMultiSelect="True"
                   MaxSelectionLength="3"/>

Implements

DevExpress.Xpf.Editors.IDateEditCalendarBase.ShowWeekNumbers
See Also