AppointmentStatusCollection Class

A collection of appointment statuses.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.1.dll

Declaration

public class AppointmentStatusCollection :
    UserInterfaceObjectCollection<IAppointmentStatus>,
    IAppointmentStatusStorage,
    IStorageCollection<IAppointmentStatus>,
    IEnumerable<IAppointmentStatus>,
    IEnumerable,
    ICollection,
    IDisposable
Public Class AppointmentStatusCollection
    Inherits UserInterfaceObjectCollection(Of IAppointmentStatus)
    Implements IAppointmentStatusStorage,
               IStorageCollection(Of IAppointmentStatus),
               IEnumerable(Of IAppointmentStatus),
               IEnumerable,
               ICollection,
               IDisposable

Related API Members

The following members accept/return AppointmentStatusCollection objects:

Remarks

IMPORTANT

You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The AppointmentStatusCollection represents 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>
See Also