Class CalendarDateRange
Represents a class which holds the start and end date of the range in SfCalendar.
Namespace: Syncfusion.Maui.Calendar
Assembly: Syncfusion.Maui.Calendar.dll
Syntax
public class CalendarDateRange : BindableObject
Constructors
CalendarDateRange(DateTime?, DateTime?)
Initializes a new instance of the CalendarDateRange class.
Declaration
public CalendarDateRange(DateTime? startDate, DateTime? endDate)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime? | startDate | The start date of range |
| DateTime? | endDate | The end date of range |
Fields
EndDateProperty
Identifies the EndDate dependency property.
Declaration
public static readonly BindableProperty EndDateProperty
Field Value
| Type | Description |
|---|---|
| BindableProperty | The identifier for EndDate dependency property. |
StartDateProperty
Identifies the StartDate dependency property.
Declaration
public static readonly BindableProperty StartDateProperty
Field Value
| Type | Description |
|---|---|
| BindableProperty | The identifier for StartDate dependency property. |
Properties
EndDate
Gets or sets the end date of the range.
Declaration
public DateTime? EndDate { get; set; }
Property Value
| Type |
|---|
| DateTime? |
StartDate
Gets or sets the start date of the range.
Declaration
public DateTime? StartDate { get; set; }
Property Value
| Type |
|---|
| DateTime? |