Class CalendarDateRange
Represents a range of dates in a Calendar.
Inheritance
System.Object
CalendarDateRange
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.Controls.dll
Syntax
public sealed class CalendarDateRange
Constructors
| Improve this Doc View SourceCalendarDateRange(DateTime)
Initializes a new instance of the CalendarDateRange class with a single date.
Declaration
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
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. |
Properties
| Improve this Doc View SourceEnd
Gets the last date in the represented range.
Declaration
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
public DateTime Start { get; }
Property Value
Type | Description |
---|---|
System.DateTime | The first date in the represented range. |