[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayBase

HolidayBase Class

Represents a base class implement the GrapeCity.Windows.InputMan.IHoliday.

Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public abstract class HolidayBase : INotifyPropertyChanged, IHoliday, ICloneable
Public MustInherit Class HolidayBase
    Implements INotifyPropertyChanged, IHoliday, ICloneable
Remarks

HolidayBase provides the base behavior of holiday, and it also implements the ICloneable and INotifyPropertyChanged, which offers the clone operation and property changed notifications.

Constructors

Name Description
HolidayBase()

Properties

Name Description
HolidayName

Gets or sets the name of the holiday.

IsYearly

Gets a value indicating whether the holiday implementation is yearly.

Methods

Name Description
Clone()

Creates a shallow copy of the holiday object.

IsDefined(DateTime)

Gets a value indicating whether the specified date is defined a holiday.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

TypeOfDay(DateTime)

Returns the type of day for the specified date.

Events

Name Description
PropertyChanged

Occurs when any property changed.