# Appointments | WPF Controls | DevExpress Documentation

## Overview

An appointment is an activity scheduled for a specific time interval. An activity is characterized by its subject, location, category ([Label](/WPF/119214/controls-and-libraries/scheduler/appointments/labels)), status ([Status](/WPF/119215/controls-and-libraries/scheduler/appointments/statuses)) and description. An appointment may also contain custom properties. Appointments can be [recurring](/WPF/119213/controls-and-libraries/scheduler/appointments/recurrence), which means that an activity can be scheduled to repeat at specified time intervals.

The scheduler displays an appointment as a color rectangle with text and graphics elements, as illustrated in the picture below.

![WPFScheduler_Appointment](/WPF/images/wpfscheduler_appointment131849.png)

An [AppointmentItem](/WPF/DevExpress.Xpf.Scheduling.AppointmentItem) object represents an appointment, and the the active [View](/WPF/119203/controls-and-libraries/scheduler/views), which is used to show the Scheduler’s data, determines its visual representation.

## Appointment Types

Appointments are of several types, indicated by the [AppointmentItem.Type](/WPF/DevExpress.Xpf.Scheduling.AppointmentItem.Type) property. A regular appointment type is [AppointmentType.Normal](/CoreLibraries/DevExpress.XtraScheduler.AppointmentType). All appointment types are listed in the [AppointmentType](/CoreLibraries/DevExpress.XtraScheduler.AppointmentType?v=26.1) enumeration.

The following diagram illustrates the difference between recurring and non-recurring appointment types.

![Docs_Fundamentals_Appointments_WhatIsAppointment02.png](/WPF/images/docs_fundamentals_appointments_whatisappointment02.png4762.png)

To learn more about recurring appointments and their types, see the [Recurrence](/WPF/119213/controls-and-libraries/scheduler/appointments/recurrence) document.

## Data Binding

Appointments can be stored in the data source. To use them in a scheduler, bind a data source to the [DataSource.AppointmentsSource](/WPF/DevExpress.Xpf.Scheduling.DataSource.AppointmentsSource) property and specify the [DataSource.AppointmentMappings](/WPF/DevExpress.Xpf.Scheduling.DataSource.AppointmentMappings). The [DataSource.AppointmentMappings](/WPF/DevExpress.Xpf.Scheduling.DataSource.AppointmentMappings) property can be set to either a collection of resource IDs or a string in the XML format.

## Member Table

| Member | Description |
| --- | --- |
| [AppointmentItem](/WPF/DevExpress.Xpf.Scheduling.AppointmentItem) | An appointment in the Scheduler. |
| [SchedulerControl.AppointmentItems](/WPF/DevExpress.Xpf.Scheduling.SchedulerControl.AppointmentItems) | Provides access to the appointments in the scheduler. |
| [SchedulerControl.GetAppointments](/WPF/DevExpress.Xpf.Scheduling.SchedulerControl.GetAppointments.overloads) | Returns the collection of [appointments](/WPF/119212/controls-and-libraries/scheduler/appointments/appointment) for the specified time interval. |
| [SchedulerControl.SelectedAppointments](/WPF/DevExpress.Xpf.Scheduling.SchedulerControl.SelectedAppointments) | Provides access to the selected [appointments](/WPF/119211/controls-and-libraries/scheduler/appointments). |
| [SchedulerControl.InitNewAppointment](/WPF/DevExpress.Xpf.Scheduling.SchedulerControl.InitNewAppointment) | Occurs before a new [AppointmentItem](/WPF/DevExpress.Xpf.Scheduling.AppointmentItem) is created in the SchedulerControl. |
| [SchedulerControl.AppointmentsUpdated](/WPF/DevExpress.Xpf.Scheduling.SchedulerControl.AppointmentsUpdated) | Occurs after Scheduler appointments are updated. |
| [SchedulerControl.GetAppointmentItemBySourceObject](/WPF/DevExpress.Xpf.Scheduling.SchedulerControl.GetAppointmentItemBySourceObject%28System.Object%29) | Gets a source object’s associated appointment. |
| [SchedulerControl.SelectedAppointmentsSource](/WPF/DevExpress.Xpf.Scheduling.SchedulerControl.SelectedAppointmentsSource) | Gets or sets the object used as the selected appointments’ source. This is a dependency property. |

See Also

[Customize Colors](/WPF/400994/controls-and-libraries/scheduler/appearance-customization)