Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppointmentLabel Class

Represents an appointment’s identification label.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public class AppointmentLabel :
    UserInterfaceObjectWin,
    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

#Extension Methods

See Also