Skip to main content

AppointmentStatusCollection Class

A collection of appointment statuses.

Namespace: DevExpress.Xpf.Scheduler

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

#Declaration

public class AppointmentStatusCollection :
    LockableCollection<AppointmentStatus>

#Returned By

The AppointmentStorage.Statuses property returns an instance of AppointmentStatusCollection.

#Remarks

AppointmentStatusCollection is a collection of AppointmentStatus objects. The properties and methods declared by this class can be used to perform common collection operations such as adding new or deleting existing items.

An instance of the AppointmentStatusCollection class can be accessed via the AppointmentStorage.Statuses property of the AppointmentStorage 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>

#Inheritance

Object
Collection<AppointmentStatus>
ObservableCollection<AppointmentStatus>
DevExpress.Xpf.Core.LockableCollection<AppointmentStatus>
AppointmentStatusCollection
See Also