corelibraries-devexpress-dot-xtrascheduler-dot-appointment-b59f1214.md
Creates a new Reminder for this appointment.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
Reminder CreateNewReminder()
Function CreateNewReminder As Reminder
| Type | Description |
|---|---|
| Reminder |
A Reminder object that is the reminder for the current appointment.
|
For an appointment of the AppointmentType.Pattern type that is the pattern for recurrent series, this method creates a recurring reminder.
Reminder reminder = apt.CreateNewReminder();
reminder.TimeBeforeStart = new TimeSpan(0, 5, 0);
apt.Reminders.Add(reminder);
Dim reminder As Reminder = apt.CreateNewReminder()
reminder.TimeBeforeStart = New TimeSpan(0, 5, 0)
apt.Reminders.Add(reminder)
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateNewReminder() method.
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-sync-with-ews/CS/EWSSyncExample/Synchronizer.cs#L304
if(addReminders) {
DevExpress.XtraScheduler.Reminder reminder = schedulerAppointment.CreateNewReminder();
reminder.TimeBeforeStart = TimeSpan.FromMinutes(exchangeAppointment.ReminderMinutesBeforeStart);
winforms-scheduler-sync-with-ews/VB/EWSSyncExample/Synchronizer.vb#L290
If addReminders Then
Dim reminder As DevExpress.XtraScheduler.Reminder = schedulerAppointment.CreateNewReminder()
reminder.TimeBeforeStart = TimeSpan.FromMinutes(exchangeAppointment.ReminderMinutesBeforeStart)
See Also