[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.SelectedDatesCollection

SelectedDatesCollection Class

Represents the SelectedDatesCollection class, which is the set of the selected dates in a GcDropDownCalendar control.

Inheritance
SelectedDatesCollection
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public sealed class SelectedDatesCollection : Collection<DateTime>, IList<DateTime>, ICollection<DateTime>, IList, ICollection, IReadOnlyList<DateTime>, IReadOnlyCollection<DateTime>, IEnumerable<DateTime>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Public NotInheritable Class SelectedDatesCollection
    Inherits Collection(Of Date)
    Implements IList(Of Date), ICollection(Of Date), IList, ICollection, IReadOnlyList(Of Date), IReadOnlyCollection(Of Date), IEnumerable(Of Date), IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Methods

Name Description
AddRange(DateTime, DateTime)

Adds all the dates in the specified range, which includes the first and last dates, to the collection.

ClearItems()

Removes all items from the collection.

InsertItem(int, DateTime)

Inserts an item into the collection at the specified index.

RemoveItem(int)

Removes the item at the specified index from the collection.

SetItem(int, DateTime)

Replaces the item at the specified index.

Events

Name Description
CollectionChanged

Occurs when the items list of the collection has changed, or the collection is reset.