Back to Devexpress

AppointmentLabelExtension.SetColor(IAppointmentLabel, Color) Method

windowsforms-devexpress-dot-xtrascheduler-dot-appointmentlabelextension-dot-setcolor-x28-devexpress-dot-xtrascheduler-dot-iappointmentlabel-system-dot-drawing-dot-color-x29.md

latest1.9 KB
Original Source

AppointmentLabelExtension.SetColor(IAppointmentLabel, Color) Method

Sets the color of the specified appointment label.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public static void SetColor(
    this IAppointmentLabel label,
    Color color
)
vb
<ExtensionAttribute>
Public Shared Sub SetColor(
    label As IAppointmentLabel,
    color As Color
)

Parameters

NameTypeDescription
labelIAppointmentLabel

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.

|

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