Back to Devexpress

Appointment.IsRecurring Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointment-9b691b3a.md

latest4.6 KB
Original Source

Appointment.IsRecurring Property

Gets whether the appointment is recurring.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
bool IsRecurring { get; }
vb
ReadOnly Property IsRecurring As Boolean

Property Value

TypeDescription
Boolean

True if the appointment is recurring; otherwise, false.

|

Remarks

An appointment is supposed to be recurrent if its Appointment.Type value differs from AppointmentType.Normal.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsRecurring property.

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-create-appointments-on-reminder-alert/CS/ReminderCustomActions/Form1.cs#L75

csharp
Appointment apt = e.Appointment;
bool openRecurrenceForm = apt.IsRecurring && scheduler.DataStorage.Appointments.IsNewAppointment(apt);
MyAppointmentEditForm myForm = new MyAppointmentEditForm(scheduler, apt, openRecurrenceForm);

xaf-how-to-display-an-event-with-custom-fields-in-a-scheduler-list-view/CS/EFCore/ExtendedEvents.Win/Controllers/SchedulerCustomFieldMappingsController.cs#L32

csharp
Appointment appointment = e.Appointment;
if (appointment.IsRecurring)
    appointment = e.Appointment.RecurrencePattern;

winforms-scheduler-print-appointments-using-reports/CS/PrintingViaReports/Form1.cs#L201

csharp
// Required to open the recurrence form via context menu.
bool openRecurrenceForm = apt.IsRecurring && schedulerStorage1.Appointments.IsNewAppointment(apt);
// Create a custom form.

winforms-scheduler-create-appointments-on-reminder-alert/VB/ReminderCustomActions/Form1.vb#L77

vb
Dim apt As Appointment = e.Appointment
Dim openRecurrenceForm As Boolean = apt.IsRecurring AndAlso scheduler.DataStorage.Appointments.IsNewAppointment(apt)
Dim myForm As New MyAppointmentEditForm(scheduler, apt, openRecurrenceForm)

winforms-scheduler-print-appointments-using-reports/VB/PrintingViaReports/Form1.vb#L181

vb
' Required to open the recurrence form via context menu.
Dim openRecurrenceForm As Boolean = apt.IsRecurring AndAlso schedulerStorage1.Appointments.IsNewAppointment(apt)
' Create a custom form.

See Also

IsBase

IsOccurrence

IsException

Appointment Interface

Appointment Members

DevExpress.XtraScheduler Namespace