corelibraries-devexpress-dot-xtrascheduler-dot-ui-dot-appointmentformcontrollerbase.md
Gets the copy of the appointment currently being edited in the form.
Namespace : DevExpress.XtraScheduler.UI
Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll
NuGet Package : DevExpress.Scheduler.CoreDesktop
public override Appointment EditedAppointmentCopy { get; }
Public Overrides ReadOnly Property EditedAppointmentCopy As Appointment
| Type | Description |
|---|---|
| Appointment |
An Appointment object.
|
When an appointment is being edited in the Edit Appointment form using the AppointmentFormControllerBase object, all changes are applied to its copy. This copy can be accessed using the EditedAppointmentCopy property.
To apply all changes made to the copy of the appointment to the source appointment, call the AppointmentFormController.ApplyChanges method.
The following code snippets (auto-collected from DevExpress Examples) contain references to the EditedAppointmentCopy 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.
SubscribeControlsEvents();
LoadFormData(Controller.EditedAppointmentCopy);
}
winforms-scheduler-custom-appointment-edit-form/CS/SchedulerDbExample/CustomAppointmentForm.cs#L203
SubscribeControlsEvents();
LoadFormData(Controller.EditedAppointmentCopy);
RecalculateLayoutOfControlsAffectedByProgressPanel();
// Prepare to edit appointment's recurrence.
Appointment editedAptCopy = controller.EditedAppointmentCopy;
Appointment editedPattern = controller.EditedPattern;
// Prepare to edit the appointment's recurrence.
Appointment editedAptCopy = controller.EditedAppointmentCopy;
Appointment editedPattern = controller.EditedPattern;
SubscribeControlsEvents()
LoadFormData(Controller.EditedAppointmentCopy)
End Sub
winforms-scheduler-custom-appointment-edit-form/VB/SchedulerDbExample/CustomAppointmentForm.vb#L256
SubscribeControlsEvents()
LoadFormData(Controller.EditedAppointmentCopy)
RecalculateLayoutOfControlsAffectedByProgressPanel()
' Prepare to edit appointment's recurrence.
Dim editedAptCopy As Appointment = controller.EditedAppointmentCopy
Dim editedPattern As Appointment = controller.EditedPattern
' Prepare to edit the appointment's recurrence.
Dim editedAptCopy As Appointment = controller.EditedAppointmentCopy
Dim editedPattern As Appointment = controller.EditedPattern
See Also
AppointmentFormControllerBase Class