Back to Devexpress

AppointmentLabelExtension.GetColor(IAppointmentLabel) Method

windowsforms-devexpress-dot-xtrascheduler-dot-appointmentlabelextension-dot-getcolor-x28-devexpress-dot-xtrascheduler-dot-iappointmentlabel-x29.md

latest1.9 KB
Original Source

AppointmentLabelExtension.GetColor(IAppointmentLabel) Method

Gets the color of the appointment label.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public static Color GetColor(
    this IAppointmentLabel label
)
vb
<ExtensionAttribute>
Public Shared Function GetColor(
    label As IAppointmentLabel
) As Color

Parameters

NameTypeDescription
labelIAppointmentLabel

A IAppointmentLabel object that is the appointment label.

|

Returns

TypeDescription
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

AppointmentLabelExtension Class

AppointmentLabelExtension Members

DevExpress.XtraScheduler Namespace