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

Reports whether an appointment was selected or unselected and whether selection was extended; the selection-clear notification uses a null appointment.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SchedulerAppointmentSelectedEventArgs : EventArgs

Inheritance: objectEventArgsSchedulerAppointmentSelectedEventArgs

Inherited Members EventArgs.Empty

Constructors

Creates event data for an appointment selection change.

C#
public SchedulerAppointmentSelectedEventArgs(IEvent appointment, bool select, bool extendSelection)
Parameters:appointmentIEvent

The selected or unselected appointment, or null when clearing the selection.

selectbool

true when the appointment is selected; false when it is unselected or the selection is cleared.

extendSelectionbool

true when this selection adds to the existing selection.

Properties

Gets the appointment being selected or unselected, or null when the selection is cleared.

C#
public IEvent Appointment { get; }

Gets whether the selection change adds the appointment to an existing selection.

C#
public bool ExtendSelection { get; }

Gets whether the appointment was selected; false also represents deselection or clearing the selection.

C#
public bool Select { get; }