Skip to main content

AppointmentStatus.Color Property

Gets or sets the color of the appointment status.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public virtual Color Color { get; set; }

#Property Value

Type Description
Color

A Color value which is the color used for an appointment status.

#Remarks

The Color property overrides the UserInterfaceObject.Color property of the base UserInterfaceObject class to change the return type from Color to Color.

#Examples

This example demonstrates how to add items to the collection of appointment statuses within the appointment storage using the AppointmentStorage.Statuses property.

<dxsch:AppointmentStorage>
    <dxsch:AppointmentStorage.Statuses>
        <dxsch:AppointmentStatus Color="YellowGreen" DisplayName="Reserved" MenuCaption="Reserved"/>
        <dxsch:AppointmentStatus Color="Green" DisplayName="Confirmed" MenuCaption="Confirmed"/>
    </dxsch:AppointmentStorage.Statuses>
</dxsch:AppointmentStorage>
See Also