CalendarDateRange Class
Definition
public class CalendarDateRange
Constructors
| Name | Description |
|---|---|
| CalendarDateRange (2 overloads) | Initializes a new instance of the System.Windows.Controls.CalendarDateRange class with a single date. |
CalendarDateRange overloads
CalendarDateRange Constructor
Initializes a new instance of the System.Windows.Controls.CalendarDateRange class with a single date.
public CalendarDateRange(DateTime day)
Parameters
day DateTime
The date to be represented by the range.
CalendarDateRange Constructor
Initializes a new instance of the System.Windows.Controls.CalendarDateRange class with a range of dates.
public CalendarDateRange(DateTime start, DateTime end)
Parameters
start DateTime
The start of the range to be represented.
end DateTime
The end of the range to be represented.
Properties
| Name | Description |
|---|---|
| End | Gets the last date in the represented range. |
| Start | Gets the first date in the represented range. |
End Property
Gets the last date in the represented range.
public DateTime End { get; set; }
Value
The last date in the represented range.
Start Property
Gets the first date in the represented range.
public DateTime Start { get; set; }
Value
The first date in the represented range.