AppointmentLabel Class
Represents an appointment’s identification label.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.1.dll
Declaration
public class AppointmentLabel :
UserInterfaceObjectWin,
IAppointmentLabel,
IUserInterfaceObject,
IDisposable
Related API Members
The following members accept/return AppointmentLabel objects:
Remarks
The AppointmentLabel class represents an individual identification label which can be associated with an appointment. The identification label is one of an appointment’s basic visual characteristics. It is used for at-a-glance appointment identification. The appointment’s identification label is indicated in the scheduler as a background color which is used to fill the client region of the rectangle that is occupied by the appointment. The color of each individual identification label object can be set via its AppointmentLabel.Color property.
Identification label objects are contained within the AppointmentLabelCollection collection which can be accessed via the AppointmentStorage.Labels property. An individual AppointmentLabel object can be accessed via the collection’s AppointmentLabelCollection.Item property using indexer notation.
To associate an appointment with a particular label object which is specified by its identifier, use the appointment’s Appointment.LabelKey property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentLabel 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.