Spread Windows Forms 12.0 Product Documentation
HolidayCollection Class Methods


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace : HolidayCollection Class

For a list of all members of this type, see HolidayCollection members.

Public Methods
 NameDescription
Public MethodAdds the specified holiday to the collection.  
Public MethodCopies the elements of the specified IHoliday array to the end of the collection.  
Public MethodRemoves all objects from the System.Collections.CollectionBase instance. This method cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public MethodReturns a value that indicates whether the specified IHoliday is a member of the HolidayCollection.  
Public MethodCopies the entire HolidayCollection to a compatible one-dimensional array of type IHoliday, starting at the specified zero-based index of the target array.  
Public MethodReturns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public MethodDetermines the type of day for the specified date.  
Public MethodSearches for the specified IHoliday and returns the zero-based index of the first occurrence within the collection.  
Public MethodInserts a holiday object in the collection.  
Public MethodDetermines whether the specified date is a holiday.  
Public MethodRemoves the first occurrence of the specified IHoliday from the HolidayCollection.  
Public MethodRemoves the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable. (Inherited from System.Collections.CollectionBase)
Top
Protected Methods
 NameDescription
Protected MethodDetermines whether the specified date is an overridden holiday.  
Protected MethodOverridden. Performs additional custom processes after clearing the contents of the HolidayCollection instance.  
Protected MethodPerforms additional custom processes after clearing the contents of the NotifyCollection instance. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.NotifyCollection)
Protected MethodRaises the NotifyCollection.CollectionChanged event. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.NotifyCollection)
Protected MethodPerforms additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOverridden. Performs additional custom processes after inserting a new element into the HolidayCollection instance.  
Protected MethodPerforms additional custom processes when removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOverridden. Performs additional custom processes after removing an element from the HolidayCollection instance.  
Protected MethodPerforms additional custom processes before setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodPerforms additional custom processes after setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodPerforms additional custom processes when validating a value. (Inherited from System.Collections.CollectionBase)
Top
See Also

Reference

HolidayCollection Class
GrapeCity.Win.Spread.InputMan.CellType Namespace