[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.-ctor

DayOfWeekHoliday Constructor

DayOfWeekHoliday()

Initializes a new instance of the DayOfWeekHoliday class.

Declaration
public DayOfWeekHoliday()
Public Sub New()

DayOfWeekHoliday(Months, Weeks, DayOfWeeks)

Initializes a new instance of the DayOfWeekHoliday class with the specific day of week rules.

Declaration
public DayOfWeekHoliday(Months month, Weeks weekInMonth, DayOfWeeks dayOfWeek)
Public Sub New(month As Months, weekInMonth As Weeks, dayOfWeek As DayOfWeeks)
Parameters
Type Name Description
Months month

A GrapeCity.Windows.InputMan.Months enumeration value indicates the month.

Weeks weekInMonth

A GrapeCity.Windows.InputMan.Weeks enumeration value indicates the weekday order.

DayOfWeeks dayOfWeek

A GrapeCity.Windows.InputMan.DayOfWeeks enumeration value indicates the day of week.

Exceptions
Type Condition
InvalidEnumArgumentException

month is not defined in GrapeCity.Windows.InputMan.Months. weekInMonth is not defined in GrapeCity.Windows.InputMan.Weeks. dayOfWeek is not defined in GrapeCity.Windows.InputMan.DayOfWeeks.

DayOfWeekHoliday(string, Months, Weeks, DayOfWeeks)

Initializes a new instance of the DayOfWeekHoliday class with the specific day of week rules.

Declaration
public DayOfWeekHoliday(string name, Months month, Weeks weekInMonth, DayOfWeeks dayOfWeek)
Public Sub New(name As String, month As Months, weekInMonth As Weeks, dayOfWeek As DayOfWeeks)
Parameters
Type Name Description
string name

A string value indicates the name of the weekday holiday.

Months month

A GrapeCity.Windows.InputMan.Months enumeration value indicates the month.

Weeks weekInMonth

A GrapeCity.Windows.InputMan.Weeks enumeration value indicates the weekday order.

DayOfWeeks dayOfWeek

A GrapeCity.Windows.InputMan.DayOfWeeks enumeration value indicates the day of week.

Exceptions
Type Condition
InvalidEnumArgumentException

month is not defined in GrapeCity.Windows.InputMan.Months. weekInMonth is not defined in GrapeCity.Windows.InputMan.Weeks. dayOfWeek is not defined in GrapeCity.Windows.InputMan.DayOfWeeks.