IAppointmentStatusStorage Interface
An interface that defines a storage which holds appointment statuses.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.1.Core.dll
Declaration
public interface IAppointmentStatusStorage :
IStorageCollection<IAppointmentStatus>,
IEnumerable<IAppointmentStatus>,
ICollection,
IEnumerable,
IDisposable
Related API Members
The following members accept/return IAppointmentStatusStorage objects:
Remarks
An object with the IAppointmentStatusStorage interface can be accessed using the IAppointmentStorageBase.Statuses property or the SchedulerControl.DataStorage.Appointments.Statuses notation.
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/winforms-schedulercontrol-api-t224044
scheduler.InitAppointmentDisplayText += scheduler_InitAppointmentDisplayText_1;
scheduler.ActiveView.LayoutChanged();
public static void scheduler_InitAppointmentDisplayText_1(object sender, AppointmentDisplayTextEventArgs e) {
SchedulerControl scheduler = sender as SchedulerControl;
IAppointmentStatus status = scheduler.DataStorage.Appointments.Statuses.GetById(e.Appointment.StatusKey);
e.Description = String.Format("Status Info:\nDisplayName = '{0}'\nID = '{1}'", status.DisplayName, status.Id.ToString());
}
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the IAppointmentStatusStorage interface.
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.