Class AppointmentDeletingEventArgs
Provides data for a AppointmentDeleting event.
Inheritance
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.SfScheduler.WPF.dll
Syntax
public class AppointmentDeletingEventArgs : CancelEventArgs
Constructors
AppointmentDeletingEventArgs()
Declaration
public AppointmentDeletingEventArgs()
Properties
Appointment
Gets the details of deleted appointment.
Declaration
public ScheduleAppointment Appointment { get; }
Property Value
Type | Description |
---|---|
ScheduleAppointment |
Remarks
When deleting the occurrence appointment of pattern appointment on recurrence edit mode as occurrenceOccurrence , it holds the occurrence appointment details. You can get the pattern appointment details from the occurrence appointment by using the GetPatternAppointment(SfScheduler, Object).
RecurrenceEditMode
Gets or sets whether to delete series or occurrence when delete a recurrence appointment. You can let end-user handle this option (using built-in dialog shown in scheduler) or define it by yourself without showing dialog.
Declaration
public RecurringAppointmentEditMode RecurrenceEditMode { get; set; }
Property Value
Type | Description |
---|---|
RecurringAppointmentEditMode | The default value is User which shows a dialog to user to choose whether to delete series or occurrence. |
Remarks
You can set this property value as Series or Occurrence. So dialog window will not be shown, and the appointment will get delete based on the value set.