Skip to main content

AppointmentLabelExtension.SetColor(IAppointmentLabel, Color) Method

Sets the color of the specified appointment label.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler


public static void SetColor(
    this IAppointmentLabel label,
    Color color


Name Type Description
label IAppointmentLabel

A IAppointmentLabel object that is the appointment label.

color Color

A Color object that is the color used to paint appointment with the label color.


Use the AppointmentLabel.GetColor notation to obtain the color of the appointment label. Use the AppointmentLabel.SetColor notation to specify the color of the appointment label.

See Also