corelibraries-devexpress-dot-xtrascheduler-dot-appointment-d3fdb65b.md
Gets or sets a value that indicates whether one or more reminders are associated with the appointment.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
bool HasReminder { get; set; }
Property HasReminder As Boolean
| Type | Description |
|---|---|
| Boolean |
true , if the appointment has at least one reminder; otherwise false.
|
The HasReminder property can be used to determine whether the appointment has an associated reminder(s) (which can be accessed using the Appointment.Reminder property.)
Note
Once this property is set to true , a new Reminder object is created and assigned to the Appointment.Reminder property.
The following code snippets (auto-collected from DevExpress Examples) contain references to the HasReminder property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-scheduler-create-appointments-on-reminder-alert/CS/ReminderCustomActions/Form1.cs#L65
Appointment apt = e.ViewInfo.Appointment;
if (apt.HasReminder && apt.Type == AppointmentType.Occurrence && apt.RecurrencePattern != null) {
Appointment pattern = apt.RecurrencePattern;
winforms-scheduler-sync-with-ews/CS/EWSSyncExample/Synchronizer.cs#L254
if((addReminders) && (schedulerAppointment.HasReminder))
exchangeAppointment.ReminderMinutesBeforeStart = schedulerAppointment.Reminder.TimeBeforeStart.Minutes;
winforms-scheduler-create-appointments-on-reminder-alert/VB/ReminderCustomActions/Form1.vb#L67
Dim apt As Appointment = e.ViewInfo.Appointment
If apt.HasReminder AndAlso apt.Type = AppointmentType.Occurrence AndAlso apt.RecurrencePattern IsNot Nothing Then
Dim pattern As Appointment = apt.RecurrencePattern
winforms-scheduler-sync-with-ews/VB/EWSSyncExample/Synchronizer.vb#L240
If (addReminders) AndAlso (schedulerAppointment.HasReminder) Then
exchangeAppointment.ReminderMinutesBeforeStart = schedulerAppointment.Reminder.TimeBeforeStart.Minutes
See Also