AppointmentBaseCollection Class
A collection of appointments.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v21.2.Core.dll
Declaration
public class AppointmentBaseCollection :
SchedulerCollectionBase<Appointment>
Public Class AppointmentBaseCollection
Inherits SchedulerCollectionBase(Of Appointment)
Related API Members
The following members accept/return AppointmentBaseCollection objects:
Related API Members
The following members accept/return AppointmentBaseCollection objects:
Related API Members
The following members accept/return AppointmentBaseCollection objects:
Remarks
The AppointmentBaseCollection class represents a collection of appointments. This collection is returned by various methods (SchedulerControl.SelectedAppointments, SchedulerStorageBase.GetAppointments, Appointment.GetExceptions, AppointmentConflictsCalculator.CalculateConflicts, etc).
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentBaseCollection class.
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.
class AppointmentsDataHelper {
public static AppointmentBaseCollection GenerateAppointmentsPerDay(AppointmentBaseCollection sourceCollection) {
AppointmentBaseCollection aptsPerDaysCollection = new AppointmentBaseCollection();
winforms-schedulercontrol-api-t224044/CS/SchedulerAPISample/CodeExamples/AppointmentConflicts.cs#L34
}
static void FillConflictedAppointmentsCollection(AppointmentBaseCollection conflicts, TimeInterval interval,
AppointmentBaseCollection collection, Appointment currApt) {
how-to-get-xtrascheduler-synchronized-with-xtragrid-xpo-version-e995/CS/MainForm.cs#L218
XPAppointment[] gridRows = GetGridSelectedRows();
AppointmentBaseCollection aptsToSelect = PrepareAppointmentsToSelect(gridRows);
UpdateSchedulerSelection(aptsToSelect);
how-to-get-xtrascheduler-synchronized-with-xtragrid-e792/CS/Form1.cs#L526
DataRow[] gridRows = GetGridSelectedRows();
AppointmentBaseCollection aptsToSelect = PrepareAppointmentsToSelect(gridRows);
how-to-obtain-appointments-based-on-the-source-data-object-e3143/CS/Form1.cs#L36
foreach (Appointment apt in schedulerStorage1.Appointments.Items) {
AppointmentBaseCollection apts = new AppointmentBaseCollection();
apts.Add(apt);
Friend Class AppointmentsDataHelper
Public Shared Function GenerateAppointmentsPerDay(ByVal sourceCollection As AppointmentBaseCollection) As AppointmentBaseCollection
Dim aptsPerDaysCollection As New AppointmentBaseCollection()
winforms-schedulercontrol-api-t224044/VB/SchedulerAPISample/CodeExamples/AppointmentConflicts.vb#L32
End Sub
Private Shared Sub FillConflictedAppointmentsCollection(ByVal conflicts As AppointmentBaseCollection, ByVal interval As TimeInterval, ByVal collection As AppointmentBaseCollection, ByVal currApt As Appointment)
For i As Integer = 0 To collection.Count - 1
how-to-get-xtrascheduler-synchronized-with-xtragrid-xpo-version-e995/VB/MainForm.vb#L227
Dim gridRows() As XPAppointment = GetGridSelectedRows()
Dim aptsToSelect As AppointmentBaseCollection = PrepareAppointmentsToSelect(gridRows)
UpdateSchedulerSelection(aptsToSelect)
how-to-get-xtrascheduler-synchronized-with-xtragrid-e792/VB/Form1.vb#L495
Dim gridRows() As DataRow = GetGridSelectedRows()
Dim aptsToSelect As AppointmentBaseCollection = PrepareAppointmentsToSelect(gridRows)
how-to-obtain-appointments-based-on-the-source-data-object-e3143/VB/Form1.vb#L49
For Each apt As Appointment In schedulerStorage1.Appointments.Items
Dim apts As New AppointmentBaseCollection()
apts.Add(apt)
Inheritance
No
We appreciate your feedback and continued support.
May we contact you if we need to discuss your feedback in greater detail or update you on changes to this help topic?