DateNavigator.ShowWeekNumbers Property
In This Article
Gets or sets a value indicating whether week numbers will be shown in the Date Navigator.
Namespace: DevExpress.Xpf.Editors.DateNavigator
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#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.
#Examples
This example demonstrates how to customize the DateNavigator control. 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"/>
See Also