New to Telerik UI for WinForms? Start a free 30-day trial

Carries an appointment and, when created from an appointment element, its current visual element.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SchedulerAppointmentEventArgs : EventArgs

Inheritance: objectEventArgsSchedulerAppointmentEventArgs

Inherited Members EventArgs.Empty

Constructors

Creates event data from an appointment element and captures the appointment it displays.

C#
public SchedulerAppointmentEventArgs(AppointmentElement appointmentElement)
Parameters:appointmentElementAppointmentElement

The element whose appointment is associated with the event.

Creates event data that identifies an appointment without a visual element.

C#
public SchedulerAppointmentEventArgs(IEvent appointment)
Parameters:appointmentIEvent

The appointment associated with the event.

Properties

Gets the appointment associated with the event; it may be null when the direct argument is null or the supplied element has no appointment.

C#
public IEvent Appointment { get; }

Gets the visual appointment element supplied to the element-based constructor; otherwise, null.

C#
public AppointmentElement AppointmentElement { get; }