AppointmentStatus Class
Represents an appointment’s availability status.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll
Declaration
public class AppointmentStatus :
UserInterfaceObjectAsp,
IAppointmentStatus,
IUserInterfaceObject,
IDisposable,
IBrushProvider
Related API Members
The following members return AppointmentStatus objects:
Remarks
The AppointmentStatus class represents an individual availability status which can be associated with an appointment. The availability status is used for at-a-glance appointment identification. The appointment’s availability status is indicated in the scheduler as a strip displayed around the appointment when it’s selected or to its left when it’s inactive (DayView and WorkWeekView only). The strip is colored in one of various different ways depending upon the availability status’s type.
The color and type of an AppointmentStatus object can be specified via its AppointmentStatus.Color and AppointmentStatus.Type properties. Note that availability status objects can be either of the standard type (there are four standard predefined types - free, tentative, busy and out of office) 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 ASPxAppointmentStorage.Statuses property. An individual AppointmentStatus object can be accessed using index notation.
To associate an appointment with a particular availability status, specified by its index within the ASPxAppointmentStorage.Statuses collection, use the appointment’s Appointment.StatusKey property