Version

DateCollection Class Members

The following tables list the members exposed by DateCollection.

Public Constructors
 NameDescription
Public ConstructorDateCollection ConstructorInitializes a new DateCollection  
Public Properties
 NameDescription
Public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Public PropertyItemGets or sets the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Protected Properties
 NameDescription
Protected Internal PropertyAllowedRangeReturns a range that represents the dates that may be added.  
Protected PropertyItemsGets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Public Methods
 NameDescription
Public MethodAddAdds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Public MethodAddRangeOverloaded. Adds a specified range of dates to the collection.  
Public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Public MethodContainsReturns a boolean indicating if the collection contains a given date.  
Public MethodCopyToCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Public MethodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Public MethodIntersectsWithReturns true if there are any dates in the collection that intersect with the specified range.  
Public MethodMove (Inherited from System.Collections.ObjectModel.ObservableCollection<DateTime>)
Public MethodRemoveRemoves the first occurrence of a specific object from the Collection. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<DateTime>)
Public MethodSortSorts the contents of the collection in ascending order.  
Protected Methods
 NameDescription
Protected MethodBlockReentrancy (Inherited from System.Collections.ObjectModel.ObservableCollection<DateTime>)
Protected MethodCheckReentrancy (Inherited from System.Collections.ObjectModel.ObservableCollection<DateTime>)
Protected MethodClearItemsOverridden. Removes all the items from the collection.  
Protected MethodGetAllowedDatesReturns an array of the dates that are allowed to be added for the specified range.  
Protected MethodInsertItemOverridden. Inserts a new item at the specified index in the collection.  
Protected MethodMoveItem (Inherited from System.Collections.ObjectModel.ObservableCollection<DateTime>)
Protected MethodOnCollectionChanged (Inherited from System.Collections.ObjectModel.ObservableCollection<DateTime>)
Protected MethodOnDatesChangedInvoked when the selection has changed indicating the added and removed dates.  
Protected MethodOnPropertyChanged (Inherited from System.Collections.ObjectModel.ObservableCollection<DateTime>)
Protected MethodRemoveItemOverridden. Removes an item at the specified index.  
Protected MethodSetItemOverridden. Replaces an item at the specified index in the collection  
Protected MethodVerifyNewDateCountUsed to determine if the number of items that will be in the collection is allowed.  
Public Events
Protected Events
See Also