AppointmentLabelExtension.GetColor(IAppointmentLabel) Method
In This Article
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 | IAppointment |
A IAppointment |
#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