Skip to main content

ReminderItem.Snooze(DateTime, TimeSpan) Method

Delays the alert until the time calculated as the specified time has increased by the specified interval.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v23.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public bool Snooze(
    DateTime now,
    TimeSpan remindAfter
)

Parameters

Name Type Description
now DateTime

A DateTime value that is the planned alert time, at which the alert will be suspended for the specified time interval.

remindAfter TimeSpan

A TimeSpan value which is the time interval added to the planned alert time.

Returns

Type Description
Boolean

True, if a alert time has been successfully changed; otherwise, false.

Remarks

The Snooze method sets the ReminderItem.AlertTime to the new time which is calculated from parameters passed to the Snooze method.

See Also