Back to Devexpress

AppointmentItem Class

wpf-devexpress-dot-xpf-dot-scheduling-293dadb7.md

latest7.6 KB
Original Source

AppointmentItem Class

An appointment in the Scheduler.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public class AppointmentItem :
    SchedulerItemBase
vb
Public Class AppointmentItem
    Inherits SchedulerItemBase

The following members return AppointmentItem objects:

Show 26 links

Remarks

An AppointmentItem class is WPF Scheduler’s appointment.

The following actions can be used to populate the Scheduler with appointments:

AppointmentItem collections are accessible using the following members:

CollectionMember to Access
AppointmentItemCollectionSchedulerControl.AppointmentItems. The collection does not contain appointment occurrences.
IEnumerable<T><AppointmentItem,>SchedulerControl.GetAppointments - returns all existing appointments, including occurrences, in the specified interval.
ObservableCollection<T><AppointmentItem,>SchedulerControl.SelectedAppointments

When an end-user creates a new appointment using an in-place editor or an appointment editing form, it fires the SchedulerControl.InitNewAppointment event. You can handle this event to modify a newly created appointment. Subsequently, the SchedulerControl.AppointmentsUpdated event occurs.

The SchedulerControl.AppointmentsUpdated event fires when an appointment is changed. You can handle this event to save changes to the external data source.

To get access to the source objects behind the selected appointments, use the SchedulerControl.SelectedAppointmentsSource property. Use the SchedulerControl.GetAppointmentItemBySourceObject method to get an appointment by its source object.

Inheritance

Object DevExpress.Xpf.Scheduling.Internal.NotifyPropertyChangedBase SourceObjectContainer SchedulerItemBase AppointmentItem

See Also

AppointmentItem Members

Appointments

DevExpress.Xpf.Scheduling Namespace