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

AppointmentLabelExtension.GetColor(IAppointmentLabel) Method

Gets the color of the appointment label.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public static Color GetColor(
    this IAppointmentLabel label
)

#Parameters

Name Type Description
label IAppointmentLabel

A IAppointmentLabel object that is the appointment label.

#Returns

Type Description
Color

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

#Remarks

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