Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / ForceDayOfWeekHoliday Class
Members


In This Topic
    ForceDayOfWeekHoliday Class
    In This Topic
    Represents the forced holidays of a specific year which set by day of week rules.
    Object Model
    ForceDayOfWeekHoliday Class
    Syntax
    'Declaration
     
    <SerializableAttribute()>
    Public Class ForceDayOfWeekHoliday 
       Inherits HolidayBase
       Implements IHoliday 
    'Usage
     
    Dim instance As ForceDayOfWeekHoliday
    [Serializable()]
    public class ForceDayOfWeekHoliday : HolidayBase, IHoliday  
    Remarks

    The day of week rules includes the months and the weeks and the days in the week defined the days are holidays of this ForceDayOfWeekHoliday. The Force means in a specific year specified by the Year property.

    For example, you may defined a ForceDayOfWeekHoliday on the Wednesday of the first week of January, 2009 by specifying the DayOfWeek to DayOfWeeks.Wednesday, WeekInMonth to Weeks.FirstWeek, Month to Months.January and Year to 2009.

    Inheritance Hierarchy

    System.Object
       GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayBase
          GrapeCity.Wpf.SpreadSheet.CellType.Editors.ForceDayOfWeekHoliday

    See Also