[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.SelectedDatesCollection.AddRange

AddRange Method

AddRange(DateTime, DateTime)

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

Declaration
public void AddRange(DateTime start, DateTime end)
Public Sub AddRange(start As Date, [end] As Date)
Parameters
Type Name Description
DateTime start

The first date to add to the collection.

DateTime end

The last date to add to the collection.

Remarks

This implementation raises the CollectionChanged event. If the end is earlier than start, this method use the earlier as the first date and use the later one as the last date of the collection.