SelectedDatesCollection Class
Definition
public class SelectedDatesCollection
Constructors
| Name | Description |
|---|---|
| SelectedDatesCollection | Initializes a new instance of the Avalonia.Controls.Primitives.SelectedDatesCollection class. |
SelectedDatesCollection Constructor
Initializes a new instance of the Avalonia.Controls.Primitives.SelectedDatesCollection class.
public SelectedDatesCollection(Avalonia.Controls.Calendar owner)
Parameters
owner Avalonia.Controls.Calendar
The Avalonia.Controls.Calendar associated with this object.
Methods
| Name | Description |
|---|---|
| AddRange | Adds all the dates in the specified range, which includes the first and last dates, to the collection. |
AddRange Method
Adds all the dates in the specified range, which includes the first and last dates, to the collection.
public void AddRange(DateTime start, DateTime end)
Parameters
start DateTime
The first date to add to the collection.
end DateTime
The last date to add to the collection.