[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.ForceDayOfWeekHoliday.TypeOfDay

TypeOfDay Method

TypeOfDay(DateTime)

Returns the type of day for the specified date.

Declaration
public override DayType TypeOfDay(DateTime dateTime)
Public Overrides Function TypeOfDay(dateTime As Date) As DayType
Parameters
Type Name Description
DateTime dateTime

A DateTime value indicates the date.

Returns
Type Description
DayType

A GrapeCity.Windows.InputMan.DayType enumeration that represents the type of day.

Overrides
Remarks

This method will return the GrapeCity.Windows.InputMan.DayType.ForcedHoliday if the date is a weekday holiday, otherwise, a GrapeCity.Windows.InputMan.DayType.Normal will be returned.