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.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
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.
See Also