Class SchedulerReminder
Represents a class to add reminders for an SchedulerAppointment.
Inheritance
Implements
Namespace: Syncfusion.Maui.Scheduler
Assembly: Syncfusion.Maui.Scheduler.dll
Syntax
public class SchedulerReminder : Object, INotifyPropertyChanged, IDisposable
Constructors
SchedulerReminder()
Initializes a new instance of the SchedulerReminder class.
Declaration
public SchedulerReminder()
Properties
AlertTime
Gets the reminder time that decides when to show a reminder alert of the appointment.
Declaration
public DateTime AlertTime { get; }
Property Value
Type |
---|
System.DateTime |
Remarks
The appointment reminder time calculated as follows reminder time = SchedulerAppointment.ActualStartTime - TimeInterval.
See Also
Appointment
Gets the appointment details for which the reminder is created.
Declaration
public SchedulerAppointment Appointment { get; }
Property Value
Type |
---|
SchedulerAppointment |
Remarks
A recurring appointment will return its occurrence of appointment.
See Also
DataItem
Gets the reminder data object associated with SchedulerReminder.
Declaration
public object DataItem { get; }
Property Value
Type |
---|
System.Object |
Remarks
When SchedulerAppointment is created based on SchedulerAppointmentMapping from fields of data object, then SchedulerReminder will be created from the field mapping AppointmentMapping and ReminderMapping.
See Also
IsDismissed
Gets or sets a value indicating whether the reminder is dismissed.
Declaration
public bool IsDismissed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the reminder for an appointment is dismissed. |
Remarks
When a reminder of any appointment occurring is dismissed, then the reminder is set for the next occurrence in a recurrence series. If the current occurrence is the last occurrence in a chain, then recurrence series appointment reminder is dismissed. When a reminder of a recurring appointment is not dismissed, then the reminder will be due till the next occurrence in a series.
TimeBeforeStart
Gets or sets the time interval to trigger the ReminderAlertOpening event to remind the scheduler appointments.
Declaration
public TimeSpan TimeBeforeStart { get; set; }
Property Value
Type |
---|
System.TimeSpan |
See Also
Methods
Dispose()
Performs application defined tasks associated with freezing, releasing, resetting unamanaged resources.
Declaration
public void Dispose()
Dispose(Boolean)
Method to dispose the unmanaged resources
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Disposing |
Events
PropertyChanged
Property changed event handler.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |