[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.HolidayStyleCollection

HolidayStyleCollection Class

Represents a collection of HolidayStyleCollection objects.

Inheritance
HolidayStyleCollection
Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
[TypeConverter(typeof(HolidayStyleCollectionConverter))]
public class HolidayStyleCollection : BaseKeyCollection, ICollection, IEnumerable
<TypeConverter(GetType(HolidayStyleCollectionConverter))>
Public Class HolidayStyleCollection
    Inherits BaseKeyCollection
    Implements ICollection, IEnumerable

Constructors

Name Description
HolidayStyleCollection()

Initializes a new instance of the HolidayStyleCollection class.

HolidayStyleCollection(string[], HolidayStyle[])

Initializes a new instance of the HolidayStyleCollection class.

Properties

Name Description
this[int]

Gets the HolidayStyle at the specified index.

this[string]

Gets the HolidayStyle with the specified key.

Methods

Name Description
Add(string)

Adds a new HolidayStyle with the specified key into the HolidayStyleCollection.

Add(string, HolidayStyle)

Adds an item with the specified key and value into the HolidayStyleCollection.

AddRange(string[], HolidayStyle[])

Adds the specified key array and HolidayStyle array into the HolidayStyleCollection.

Clear()

Removes all elements from the HolidayStyleCollection.

CopyTo(HolidayStyle[])

Copies the items of the HolidayStyleCollection to a compatible one-dimensional array of type HolidayStyle, starting from the first index of the target array.

CopyTo(HolidayStyle[], int)

Copies the items of the HolidayStyleCollection to a compatible one-dimensional array of type HolidayStyle, starting at the specified zero-based index of the target array.

Dispose()

Releases the resources used by the HolidayStyleCollection.

Insert(int, string)

Inserts a new HolidayStyle with the specified key into the HolidayStyleCollection.

Insert(int, string, HolidayStyle)

Inserts an item with the specified key and value into the HolidayStyleCollection.

Load(string)

Loads the holiday styles from the disk.

OnCollectionChanged(CollectionChangeEventArgs)

Occurs when the HolidayStyleCollection has changed.

OnHolidayStyleHolidaysCollectionChanged(CollectionChangeEventArgs)

Occurs when the HolidayStyleCollection has changed.

OnHolidayStylePropertyChanged(PropertyChangedEventArgs)

Occurs when the HolidayStyle object has changed.

OnHolidayStyleSubStylePropertyChanged(PropertyChangedEventArgs)

Occurs when the SubStyle property of HolidayStyle has changed.

Remove(string)

Removes the element with the specified key from the HolidayStyleCollection.

RemoveAt(int)

Removes the element with the specified index from the HolidayStyleCollection.

Save(HolidayStyleCollection, string)

Saves the holiday styles to disk in xml format.