AppointmentLabel Class

Represents an appointment's identification label.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

public class AppointmentLabel :
    UserInterfaceObjectWin,
    IAppointmentLabel,
    IUserInterfaceObject,
    IDisposable
Public Class AppointmentLabel
    Inherits UserInterfaceObjectWin
    Implements IAppointmentLabel,
               IUserInterfaceObject,
               IDisposable

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.

AppointmentLabel.gif

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.

Inheritance

Object
UserInterfaceObject
DevExpress.XtraScheduler.UserInterfaceObjectWin
AppointmentLabel
See Also