Appointment Interface
An interface that defines an appointment in the Scheduler.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v22.1.Core.dll
Declaration
public interface Appointment :
IPersistentObject,
IBatchUpdateable,
IDisposable,
IIdProvider
Public Interface Appointment
Inherits IPersistentObject,
IBatchUpdateable,
IDisposable,
IIdProvider
Related API Members
The following members return Appointment objects:
Related API Members
The following members return Appointment objects:
Related API Members
The following members return Appointment objects:
Remarks
For more information on appointments, review the following topics:
- WinForms Scheduler - Appointments
- WinForms Scheduler - Visual Elements - Appointments
- ASP.NET Scheduler - Appointments
- ASP.NET Scheduler - Visual Elements - Appointments
- ASP.NET MVC Scheduler - Visual Elements - Appointments
WPF Scheduler implements the AppointmentItem class that represents an appointment. Review the Appointments section for more information.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Appointment interface.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
public void Import(IList<Event> events) {
Dictionary<string, Appointment> patternHash = new Dictionary<string, Appointment>();
Dictionary<string, Event> occurrenceHash = new Dictionary<string, Event>();
SchedulerControl control;
Appointment apt;
bool openRecurrenceForm = false;
winforms-schedulercontrol-api-t224044/CS/SchedulerAPISample/CodeExamples/Serialization.cs#L10
SchedulerCompatibility.Base64XmlObjectSerialization = true;
foreach (Appointment apt in scheduler.ActiveView.GetAppointments()) {
AppointmentXmlPersistenceHelper helper =
how-to-obtain-appointments-based-on-the-source-data-object-e3143/CS/Form1.cs#L9
public partial class Form1 : Form {
Dictionary<object, Appointment> appointmentRowDictionary = new Dictionary<object, Appointment>();
Dictionary<Appointment, object> rowAppointmentDictionary = new Dictionary<Appointment, object>();
how-to-get-xtrascheduler-synchronized-with-xtragrid-xpo-version-e995/CS/MainForm.cs#L94
private void OnAppointmentsChanged(object sender, PersistentObjectsEventArgs e) {
foreach (Appointment apt in e.Objects) {
XPBaseObject o = apt.GetSourceObject(schedulerStorage1) as XPBaseObject;
Public Sub Import(ByVal events As IList(Of Google.Apis.Calendar.v3.Data.Event))
Dim patternHash As New Dictionary(Of String, Appointment)()
Dim occurrenceHash As New Dictionary(Of String, Google.Apis.Calendar.v3.Data.Event)()
winforms-schedulercontrol-api-t224044/VB/SchedulerAPISample/CodeExamples/Serialization.vb#L10
SchedulerCompatibility.Base64XmlObjectSerialization = True
For Each apt As Appointment In scheduler.ActiveView.GetAppointments()
Dim helper As New AppointmentXmlPersistenceHelper(apt, Nothing)
Private control As SchedulerControl
Private apt As Appointment
Private openRecurrenceForm As Boolean = False
how-to-obtain-appointments-based-on-the-source-data-object-e3143/VB/Form1.vb#L12
Private appointmentRowDictionary_Renamed As New Dictionary(Of Object, Appointment)()
how-to-get-xtrascheduler-synchronized-with-xtragrid-xpo-version-e995/VB/MainForm.vb#L106
Private Sub OnAppointmentsChanged(ByVal sender As Object, ByVal e As PersistentObjectsEventArgs) Handles schedulerStorage1.AppointmentsChanged
For Each apt As Appointment In e.Objects
Dim o As XPBaseObject = TryCast(apt.GetSourceObject(schedulerStorage1), XPBaseObject)