Skip to main content

DateNavigator.HighlightHolidays Property

Gets or sets a value indicating if holiday dates should be highlighted in red.

Namespace: DevExpress.Xpf.Editors.DateNavigator

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public bool HighlightHolidays { get; set; }

#Property Value

Type Description
Boolean

true to highlight holiday dates; otherwise, false.

#Remarks

Use the HighlightHolidays property to specify whether holiday dates should be highlighted in red in the DateNavigator control.

DateNavigator_HighlightHolidays

#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