corelibraries-devexpress-dot-xtrascheduler-dot-appointmenteventargs.md
Gets the appointment for which the event was raised.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
public Appointment Appointment { get; }
Public ReadOnly Property Appointment As Appointment
| Type | Description |
|---|---|
| Appointment |
An Appointment object that is the appointment for which the event was raised.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Appointment 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-sync-outlook-calendars/CS/SyncWithOutlook/OutlookSynchronizerHelper.cs#L134
else
eventArgs.Cancel = eventArgs.Appointment != null && insertedAppointments.Contains(eventArgs.Appointment);
break;
winforms-scheduler-sync-outlook-calendars/VB/SyncWithOutlook/OutlookSynchronizerHelper.vb#L172
Else
eventArgs.Cancel = eventArgs.Appointment IsNot Nothing AndAlso insertedAppointments.Contains(eventArgs.Appointment)
End If
See Also