Skip to main content

AppointmentStorage.Statuses Property

Provides access to the collection of appointment statuses.

Namespace: DevExpress.Xpf.Scheduler

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

#Declaration

public AppointmentStatusCollection Statuses { get; set; }

#Property Value

Type Description
AppointmentStatusCollection

An AppointmentStatusCollection which is the collection of appointment statuses.

#Remarks

Use the Statuses property to access the collection of appointment statuses within the appointment storage. You can add, remove and access individual items using the members of the AppointmentStatusCollection object.

#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