A newer version of this page is available. Switch to the current version.

AppointmentLabelExtension.GetColor(IAppointmentLabel) Method

Gets the color of the appointment label.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.dll


public static Color GetColor(
    this IAppointmentLabel label
Public Shared Function GetColor(
    label As IAppointmentLabel
) As Color


Name Type Description
label IAppointmentLabel

A IAppointmentLabel object that is the appointment label.


Type Description

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