Spread Windows Forms 12.0 Product Documentation
DayOfWeekHolidayPolicy Constructor


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DayOfWeekHolidayPolicy Structure : DayOfWeekHolidayPolicy Constructor
A WeekFlags flag value that represents the weeks that will be treated as a holiday.
true to override the holiday (when the holiday lands on a weekday which is already set to a holiday) to the following day; false to do nothing.
Initializes a new instance of the DayOfWeekHolidayPolicy structure with the specified WeekFlags and override settings.
Syntax
'Declaration
 
Public Function New( _
   ByVal weekFlags As WeekFlags, _
   ByVal overrideHoliday As HolidayOverride _
)
'Usage
 
Dim weekFlags As WeekFlags
Dim overrideHoliday As HolidayOverride
 
Dim instance As New DayOfWeekHolidayPolicy(weekFlags, overrideHoliday)
public DayOfWeekHolidayPolicy( 
   WeekFlags weekFlags,
   HolidayOverride overrideHoliday
)

Parameters

weekFlags
A WeekFlags flag value that represents the weeks that will be treated as a holiday.
overrideHoliday
true to override the holiday (when the holiday lands on a weekday which is already set to a holiday) to the following day; false to do nothing.
See Also

Reference

DayOfWeekHolidayPolicy Structure
DayOfWeekHolidayPolicy Members