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.v20.1.Core.dll

Declaration

public override bool CanDeleteAppointment { get; }
Public Overrides ReadOnly Property CanDeleteAppointment As Boolean

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