Class CalendarDateRange
Represents a class which holds the start and end date of the range in SfCalendar.
Inheritance
System.Object
    CalendarDateRange
  Namespace: Syncfusion.Maui.Toolkit.Calendar
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class CalendarDateRange : BindableObject
  Constructors
CalendarDateRange(Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the CalendarDateRange class.
Declaration
public CalendarDateRange(Nullable<DateTime> startDate, Nullable<DateTime> endDate)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.DateTime> | startDate | The start date of range  | 
      
| System.Nullable<System.DateTime> | endDate | The end date of range  | 
      
Fields
EndDateProperty
Identifies the EndDate dependency property.
Declaration
public static readonly BindableProperty EndDateProperty
  Field Value
| Type | Description | 
|---|---|
| Microsoft.Maui.Controls.BindableProperty | The identifier for EndDate dependency property.  | 
      
StartDateProperty
Identifies the StartDate dependency property.
Declaration
public static readonly BindableProperty StartDateProperty
  Field Value
| Type | Description | 
|---|---|
| Microsoft.Maui.Controls.BindableProperty | The identifier for StartDate dependency property.  | 
      
Properties
EndDate
Gets or sets the end date of the range.
Declaration
public Nullable<DateTime> EndDate { get; set; }
  Property Value
| Type | 
|---|
| System.Nullable<System.DateTime> | 
Remarks
This property is used only to define the end date for range and multi range selection.
StartDate
Gets or sets the start date of the range.
Declaration
public Nullable<DateTime> StartDate { get; set; }
  Property Value
| Type | 
|---|
| System.Nullable<System.DateTime> | 
Remarks
This property is used only to define the start date for range and multi range selection.