Spread Windows Forms 12.0 Product Documentation
HolidayCollection Class Members
Properties  Methods  Events


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

The following tables list the members exposed by HolidayCollection.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyGets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public PropertyGets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public PropertyGets a IHoliday specified by its index.  
Public PropertyGets or sets the policy object for the individual holidays.  
Top
Protected Properties
 NameDescription
Protected PropertyGets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyGets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Top
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
Public Events
 NameDescription
Public EventOccurs when the collection has changed. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.NotifyCollection)
Top
See Also

Reference

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