Back to Devexpress

AppointmentLabel Class

windowsforms-devexpress-dot-xtrascheduler-4abe7b7f.md

latest4.8 KB
Original Source

AppointmentLabel Class

Represents an appointment’s identification label.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

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

The following members 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.

Inheritance

Object UserInterfaceObject DevExpress.XtraScheduler.UserInterfaceObjectWin AppointmentLabel

Extension Methods

GetColor()

SetColor(Color)

See Also

AppointmentLabel Members

LabelKey

LabelKey

Labels

DevExpress.XtraScheduler Namespace