SchedulerControl.RemoveAppointmentDialogShowing Event
Occurs before invoking the Confirm Delete dialog.
Namespace: DevExpress.WinUI.Scheduler
Assembly: DevExpress.WinUI.Scheduler.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
public event EventHandler<RemoveAppointmentDialogShowingEventArgs> RemoveAppointmentDialogShowing
#Event Data
The RemoveAppointmentDialogShowing event's data class is RemoveAppointmentDialogShowingEventArgs. The following properties provide information specific to this event:
Property |
---|
Appointment |
Cancel |
Commands |
View |
#Remarks
The RemoveAppointmentDialogShowing is a deferred event. You can process the event in a synchronous mode pausing the SchedulerControl.
To pause the SchedulerControl, use the event’s GetDeferral method. It returns an EventDeferral object. To resume the SchedulerControl’s processing, call the EventDeferral.Complete method.
Important
If you don’t call the Event
If the RemoveAppointmentDialogShowingEventArgs.Cancel property is set to true, the changes applied to the Appointment property depend on the event’s RemoveAppointmentDialogShowingEventArgs.CancelResult property.
Cancel | Description |
---|---|
Apply | Changes are applied to the selected appointment |
Apply | Changes are applied to the selected recurrence’s pattern appointment |
Cancel (default) | Changes are ignored |
Delete | The selected appointment is deleted |
Delete | The selected recurrence’s pattern and all recurrences of this pattern are deleted |
Tip
If the Edited