Spread Windows Forms 7.0 Product Documentation
HolidayCollection Class Members
See Also  Properties  Methods  Events Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace : HolidayCollection Class


Glossary Item Box

The following tables list the members exposed by HolidayCollection.

Public Constructors

 NameDescription
Public ConstructorHolidayCollection ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyCapacityGets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public PropertyCountGets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public PropertyItemGets a IHoliday specified by its index.  
Public PropertyWeekdaysGets or sets the policy object for the individual holidays.  
Top

Protected Properties

 NameDescription
Protected PropertyInnerListGets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyListGets 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 MethodAddAdds the specified holiday to the collection.  
Public MethodAddRangeCopies the elements of the specified IHoliday array to the end of the collection.  
Public MethodClearRemoves all objects from the System.Collections.CollectionBase instance. This method cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public MethodContainsReturns a value that indicates whether the specified IHoliday is a member of the HolidayCollection.  
Public MethodCopyToCopies the entire HolidayCollection to a compatible one-dimensional array of type IHoliday, starting at the specified zero-based index of the target array.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public MethodGetTypeOfDayDetermines the type of day for the specified date.  
Public MethodIndexOfSearches for the specified IHoliday and returns the zero-based index of the first occurrence within the collection.  
Public MethodInsertInserts a holiday object in the collection.  
Public MethodIsHolidayDetermines whether the specified date is a holiday.  
Public MethodRemoveRemoves the first occurrence of the specified IHoliday from the HolidayCollection.  
Public MethodRemoveAtRemoves 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 MethodIsOverriddenDetermines whether the specified date is an overridden holiday.  
Protected MethodOnClearOverridden. Performs additional custom processes after clearing the contents of the HolidayCollection instance.  
Protected MethodOnClearCompletePerforms additional custom processes after clearing the contents of the NotifyCollection instance. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.NotifyCollection)
Protected MethodOnCollectionChangedRaises the NotifyCollection.CollectionChanged event. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.NotifyCollection)
Protected MethodOnInsertPerforms additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertCompleteOverridden. Performs additional custom processes after inserting a new element into the HolidayCollection instance.  
Protected MethodOnRemovePerforms additional custom processes when removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnRemoveCompleteOverridden. Performs additional custom processes after removing an element from the HolidayCollection instance.  
Protected MethodOnSetPerforms additional custom processes before setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetCompletePerforms additional custom processes after setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnValidatePerforms additional custom processes when validating a value. (Inherited from System.Collections.CollectionBase)
Top

Public Events

 NameDescription
Public EventCollectionChangedOccurs when the collection has changed. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.NotifyCollection)
Top

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.