ReminderBase.Snooze(DateTime, TimeSpan) Method
Notifies the scheduler to defer the triggering of a reminder by the specified interval starting from the specified now date and time.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
now | Date |
A Date |
remind |
Time |
A Time |
#Returns
Type | Description |
---|---|
Boolean | true if a reminder alert has been successfully snoozed; otherwise, false. |
#Remarks
The Snooze method defers the reminder’s alert time by the time interval specified. The time of the alert can be obtained via the ReminderBase.AlertTime property.
Note
Use this method when it’s required to snooze several reminders for the same time interval starting from the same now date and time.
If an appointment occurs in the past, then the following behavior is implemented: If an outdated appointment is of AppointmentType.Normal type, then AlertTime=Now+Snooze. If it is a member of a recurring appointment series, then the current valid appointment in a chain will hold the reminder.