WorkDaysCollection.AddHoliday(DateTime, String) Method
In This Article
Creates and adds a Holiday class instance to the WorkDaysCollection if the collection does not contain the specified item.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
date | Date |
A Date |
display |
String | A String, representing a name of the holiday to display. |
#Returns
Type | Description |
---|---|
Int32 | An integer, representing the position into which the new element was inserted. |
See Also