Back to Devexpress

AppointmentDisplayTextEventArgs.Appointment Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentdisplaytexteventargs.md

latest2.5 KB
Original Source

AppointmentDisplayTextEventArgs.Appointment Property

Provides access to the appointment for which the SchedulerControl.InitAppointmentDisplayText event is fired.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public Appointment Appointment { get; }
vb
Public ReadOnly Property Appointment As Appointment

Property Value

TypeDescription
Appointment

An Appointment object to display.

|

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.

xaf-how-to-display-an-event-with-custom-fields-in-a-scheduler-list-view/CS/EFCore/ExtendedEvents.Win/Controllers/SchedulerCustomFieldMappingsController.cs#L31

csharp
private void scheduler_InitAppointmentDisplayText(object sender, AppointmentDisplayTextEventArgs e) {
    Appointment appointment = e.Appointment;
    if (appointment.IsRecurring)

See Also

AppointmentDisplayTextEventArgs Class

AppointmentDisplayTextEventArgs Members

DevExpress.XtraScheduler Namespace