wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentitemeventargs.md
Gets the appointment for which the element is raised.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public AppointmentItem Appointment { get; }
Public ReadOnly Property Appointment As AppointmentItem
| Type | Description |
|---|---|
| AppointmentItem |
A AppointmentItem object that is the element for which the event is 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.
private void Scheduler_InitNewAppointment(object sender, DevExpress.Xpf.Scheduling.AppointmentItemEventArgs e) {
AddAppointmentReminders(e.Appointment);
}
Private Sub Scheduler_InitNewAppointment(ByVal sender As Object, ByVal e As AppointmentItemEventArgs)
Call AddAppointmentReminders(e.Appointment)
End Sub
See Also
AppointmentItemEventArgs Class