DateNavigator.Holidays Property

Gets or sets a collection of custom holidays. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

Declaration

public IList<DateTime> Holidays { get; set; }
Public Property Holidays As IList(Of Date)

Property Value

Type Description
IList<DateTime>

The list of the DateTime objects specifying holiday dates.

Remarks

Use the Holidays property to populate the collection of holidays. The DateNavigator control shows corresponding dates in red, if the DateNavigator.HighlightHolidays property is set to true.

TIP

To override the Holidays setting and treat a certain date as working day, add a date to the DateNavigator.ExactWorkdays collection.

DateNavigator

See Also