AppointmentStatus Class
Appointment’s availability status.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.1.dll
Declaration
public class AppointmentStatus :
UserInterfaceObjectWin,
IAppointmentStatus,
IUserInterfaceObject,
IDisposable
Related API Members
The following members accept/return AppointmentStatus objects:
Remarks
The AppointmentStatus class represents an individual availability status, which can be associated with an appointment. The availability status is one of an appointment’s basic visual characteristics. It is used for at-a-glance appointment identification. The appointment’s availability status is indicated in the scheduler as a strip displayed to the left of the appointment. The strip is colored in different ways, depending upon the availability status’s type.
The color fill and type of an AppointmentStatus object are determined by its AppointmentStatus.Brush and AppointmentStatus.Type properties. The status can be either of the standard type (there are five standard predefined types - free, tentative, busy, out of office and working elsewhere) or a custom type. See the AppointmentStatusType enumerator for more details.
Availability status objects are contained within the AppointmentStatusCollection collection, which can be accessed via the AppointmentStorage.Statuses property. An individual AppointmentStatus object can be accessed using indexer notation or specific methods (AppointmentStatusCollection.GetByType, UserInterfaceObjectCollection<T>.GetById, UserInterfaceObjectCollection<T>.GetByIndex).
The Appointment.StatusKey property associates an appointment with the availability status specified by its UserInterfaceObject.Id.
Note
Availability statuses are only visible in the Day View, Work Week View or the Full Week View views.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentStatus class.
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.