Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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