Class CalendarDateRange
Represents a range of dates in a Calendar.
Inheritance
Inherited Members
Namespace: System.Windows.Controls
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public sealed class CalendarDateRange
Constructors
| Improve this Doc View SourceCalendarDateRange(DateTime)
Initializes a new instance of the CalendarDateRange class with a single date.
Declaration
[NotImplemented]
public CalendarDateRange(DateTime day)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | day | The date to be represented by the range. |
CalendarDateRange(DateTime, DateTime)
Initializes a new instance of the CalendarDateRange class with a range of dates.
Declaration
[NotImplemented]
public CalendarDateRange(DateTime start, DateTime end)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | start | The start of the range to be represented. |
System.DateTime | end | The end of the range to be represented. |
CalendarDateRange(DateTime, DateTime, String)
Initializes a new instance of the CalendarDateRange class with the specified start and end dates and description.
Declaration
[NotImplemented]
public CalendarDateRange(DateTime start, DateTime end, string description)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | start | The start of the range to be represented. |
System.DateTime | end | The end of the range to be represented. |
System.String | description | A description of the data range. |
Properties
| Improve this Doc View SourceDescription
Gets a description of the represented range.
Declaration
[NotImplemented]
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String | The description of the represented range. |
End
Gets the last date in the represented range.
Declaration
[NotImplemented]
public DateTime End { get; }
Property Value
Type | Description |
---|---|
System.DateTime | The last date in the represented range. |
Start
Gets the first date in the represented range.
Declaration
[NotImplemented]
public DateTime Start { get; }
Property Value
Type | Description |
---|---|
System.DateTime | The first date in the represented range. |