Skip to main content

ReminderBase.Dismiss() Method

Switches the reminder off for the associated appointment.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v14.2.Core.dll

#Declaration

public bool Dismiss()

#Returns

Type Description
Boolean

true if the reminder has been successfully switched off; otherwise, false.

#Remarks

The Dismiss method returns false for the reminder associated with an appointment of the AppointmentType.Normal type, if this appointment cannot be edited.

If the Dismiss is called for the reminder triggered by an appointment occurrence, then the reminder is set for the next occurrence in a chain and the method returns false. If the current occurrence is the last occurrence in a chain, the reminder is dismissed and the Dismiss method returns true.

For an infinite recurring series, this method will always return false.

See Also