Class SchedulerRecurrenceInfo
Represents a class which allows to create recurrence rule for an scheduler appointment.
Inheritance
Namespace: Syncfusion.Maui.Scheduler
Assembly: Syncfusion.Maui.Scheduler.dll
Syntax
public class SchedulerRecurrenceInfo : Object
Remarks
An object contains properties that hold data for the creation of appointment.recurrenceRule for an appointment using the generateRRule method.
Constructors
SchedulerRecurrenceInfo()
Initializes a new instance of the SchedulerRecurrenceInfo class.
Declaration
public SchedulerRecurrenceInfo()
Properties
DayOfMonth
Gets or sets the day in a month for the Appointment.
Declaration
public int DayOfMonth { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Remarks
The Appointment will recur on the day set to this property on specific month, when the SchedulerRecurrenceType set as Yearly.
DayOfWeek
Gets or sets the day in a week for the Appointment.
Declaration
public int DayOfWeek { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Remarks
The Appointment will recur on the day set to this property on specific week, when the SchedulerRecurrenceType set as Yearly or the Monthly.
EndDate
Gets or sets the end date for the Appointment.
Declaration
public DateTime EndDate { get; set; }
Property Value
| Type |
|---|
| System.DateTime |
Interval
Gets or sets the recurrence interval between the Appointment.
Declaration
public int Interval { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The default value is 1. |
Remarks
The Appointment will take place at a specific time interval based on the value that is set for this property.
Month
Gets or sets the month for the Appointment.
Declaration
public int Month { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Remarks
The Appointment will recur on the month set to this property on specific year, when the SchedulerRecurrenceType set as Yearly.
RecurrenceCount
Gets or sets the recurrence count for the Appointment.
Declaration
public int RecurrenceCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The default value is 1. |
Remarks
It is applicable only when the SchedulerRecurrenceRange set as Count.
RecurrenceRange
Gets or sets the recurrence range for the Appointment.
Declaration
public SchedulerRecurrenceRange RecurrenceRange { get; set; }
Property Value
| Type | Description |
|---|---|
| SchedulerRecurrenceRange | The default values if NoEndDate. |
RecurrenceType
Gets or sets the recurrence type for the Appointment.
Declaration
public SchedulerRecurrenceType RecurrenceType { get; set; }
Property Value
| Type | Description |
|---|---|
| SchedulerRecurrenceType | The default values is Daily. |
StartDate
Gets or sets the start date for the Appointment.
Declaration
public DateTime StartDate { get; set; }
Property Value
| Type |
|---|
| System.DateTime |
Week
Gets or sets the week for the Appointment.
Declaration
public int Week { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Remarks
The Appointment will recur on the Week set to this property, when the SchedulerRecurrenceType set as Yearly.
WeekDays
Gets or sets the week days for the Appointment.
Declaration
public SchedulerWeekDays WeekDays { get; set; }
Property Value
| Type |
|---|
| SchedulerWeekDays |
Remarks
The Appointment will recur on the WeekDays set to this property, when the SchedulerRecurrenceType set as Weekly.