corelibraries-devexpress-dot-xtrascheduler-dot-appointmentstoragebase-7cfb9c0f.md
Gets the collection of appointments within the storage.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll
NuGet Package : DevExpress.Scheduler.CoreDesktop
[Browsable(false)]
public AppointmentCollection Items { get; }
<Browsable(False)>
Public ReadOnly Property Items As AppointmentCollection
| Type | Description |
|---|---|
| AppointmentCollection |
An AppointmentCollection object that contains a collection of appointments.
|
Use this property to access the collection of appointments within the appointments storage. You can add, remove and access individual items using the properties and methods of the AppointmentCollection object obtained.
Items contained within the collection can be accessed via the AppointmentBaseCollection.Item property using index notation.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Items property.
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.
winforms-scheduler-get-appointment-by-source-object/CS/Form1.cs#L35
private void schedulerStorage1_AppointmentCollectionLoaded(object sender, EventArgs e) {
foreach (Appointment apt in schedulerStorage1.Appointments.Items) {
AppointmentBaseCollection apts = new AppointmentBaseCollection();
winforms-scheduler-get-appointment-by-source-object/VB/Form1.vb#L44
Private Sub schedulerStorage1_AppointmentCollectionLoaded(ByVal sender As Object, ByVal e As EventArgs)
For Each apt As Appointment In schedulerStorage1.Appointments.Items
Dim apts As AppointmentBaseCollection = New AppointmentBaseCollection()
See Also