Skip to main content

AppointmentFormControllerBase.CanDeleteAppointment Property

Gets a value that indicates if the appointment currently being edited in the form can be deleted.

Namespace: DevExpress.XtraScheduler.UI

Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll

Declaration

public override bool CanDeleteAppointment { get; }

Property Value

Type Description
Boolean

true if the appointment can be deleted; otherwise, false.

Remarks

An appointment can be deleted only if it’s not a newly created appointment (AppointmentFormControllerBase.IsNewAppointment), and if the Scheduler Control whose appointments collection the current appointment belongs to allows its appointments to be deleted (this is specified by the SchedulerOptionsCustomization.AllowAppointmentDelete property).

See Also