Back to Devexpress

AppointmentFormControllerBase.EditedPattern Property

corelibraries-devexpress-dot-xtrascheduler-dot-ui-dot-appointmentformcontrollerbase-f61bf945.md

latest4.4 KB
Original Source

AppointmentFormControllerBase.EditedPattern Property

Gets the appointment pattern currently being edited in the Recurrence form.

Namespace : DevExpress.XtraScheduler.UI

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

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public override Appointment EditedPattern { get; }
vb
Public Overrides ReadOnly Property EditedPattern As Appointment

Property Value

TypeDescription
Appointment

An Appointment object that is the appointment pattern.

|

Remarks

Use the EditedPattern property to obtain the recurrence pattern currently being edited in the Recurrence form. Subsequently, call the ApplyRecurrence method of the base class so that the changes made to the EditedPattern will be applied to the AppointmentFormControllerBase.EditedAppointmentCopy.

The following code snippets (auto-collected from DevExpress Examples) contain references to the EditedPattern 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/Forms/MyAppointmentEditForm.cs#L66

csharp
Appointment editedAptCopy = controller.EditedAppointmentCopy;
Appointment editedPattern = controller.EditedPattern;
Appointment patternCopy = controller.PrepareToRecurrenceEdit();

winforms-scheduler-print-appointments-using-reports/CS/PrintingViaReports/MyAppointmentEditForm.cs#L95

csharp
Appointment editedAptCopy = controller.EditedAppointmentCopy;
Appointment editedPattern = controller.EditedPattern;
Appointment patternCopy = controller.PrepareToRecurrenceEdit();

winforms-scheduler-create-appointments-on-reminder-alert/VB/ReminderCustomActions/Forms/MyAppointmentEditForm.vb#L76

vb
Dim editedAptCopy As Appointment = controller.EditedAppointmentCopy
Dim editedPattern As Appointment = controller.EditedPattern
Dim patternCopy As Appointment = controller.PrepareToRecurrenceEdit()

winforms-scheduler-print-appointments-using-reports/VB/PrintingViaReports/MyAppointmentEditForm.vb#L103

vb
Dim editedAptCopy As Appointment = controller.EditedAppointmentCopy
Dim editedPattern As Appointment = controller.EditedPattern
Dim patternCopy As Appointment = controller.PrepareToRecurrenceEdit()

See Also

RecurrencePattern

AppointmentFormControllerBase Class

AppointmentFormControllerBase Members

DevExpress.XtraScheduler.UI Namespace