New to Telerik UI for WPFStart a free 30-day trial

Contains state information about the appointment that is going to be edited.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class AppointmentEditingEventArgs : CancelRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsAppointmentEditingEventArgs

Inherited Members CancelRoutedEventArgs.Cancel

Constructors

Initializes a new instance of the AppointmentEditingEventArgs class.

C#
public AppointmentEditingEventArgs(RoutedEvent routedEvent, IAppointment appointment, Occurrence occurrence, bool isDeleted = false)
Parameters:routedEventRoutedEvent

The routed event.

appointmentIAppointment

The appointment.

occurrenceOccurrence

The occurrence.

isDeletedbool

Is appointment deleted.

Initializes a new instance of the AppointmentEditingEventArgs class.

C#
public AppointmentEditingEventArgs(RoutedEvent routedEvent, object source, IAppointment appointment, Occurrence occurrence)
Parameters:routedEventRoutedEvent

The routed event.

sourceobject

The source.

appointmentIAppointment

The appointment.

occurrenceOccurrence

The occurrence.

Properties

Gets the appointment that is going to be edited.

C#
public IAppointment Appointment { get; }
Property Value:

The appointment that will be edited.

Gets whether the edited appointment is deleted or not.

C#
public bool IsDeleted { get; }

Gets the occurrence that is going to be edited. If the appointment is not recurrent, the value is null.

C#
public Occurrence Occurrence { get; }
Property Value:

The occurrence that is going to be edited. If the appointment is not recurrent, the value is null.