AppointmentFormController.UpdateAppointmentStatus(AppointmentStatus) Method
OBSOLETE
Use UpdateStatus instead
Changes the appointment status (Busy - Free) when the AppointmentFormControllerBase.AllDay property changes.
Namespace: DevExpress.XtraScheduler.UI
Assembly: DevExpress.XtraScheduler.v24.1.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
[Obsolete("Use UpdateStatus instead", false)]
public AppointmentStatus UpdateAppointmentStatus(
AppointmentStatus currentStatus
)
Parameters
Name | Type | Description |
---|---|---|
currentStatus | AppointmentStatus | An AppointmentStatus object that is the current status of an appointment being edited. |
Returns
Type | Description |
---|---|
AppointmentStatus | An AppointmentStatus object that is the updated status of the appointment being edited. |
Remarks
The UpdateAppointmentStatus method implements a behavior specific to MS Outlook Calendar that switches between Busy and Free statuses when an appointment’s Appointment.AllDay attribute is switched on or off. When the appointment status is Free and the end-user clears the All day event checkbox, the status becomes Busy. When the appointment status is Busy and the end-user sets the All day event checkbox, the status becomes Free.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UpdateAppointmentStatus(AppointmentStatus) method.
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.