SchedulerControl.RemoveAppointment(AppointmentItem, Boolean) Method
Removes the specified appointment from the AppointmentItems collection.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
public bool RemoveAppointment(
AppointmentItem apt,
bool showDeleteOccurrenceWindow = false
)
Parameters
| Name | Type | Description |
|---|---|---|
| apt | AppointmentItem | A DevExpress.Xpf.Scheduling.AppointmentItem object to be removed from the AppointmentItems collection. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| showDeleteOccurrenceWindow | Boolean | False |
|
Returns
| Type | Description |
|---|---|
| Boolean |
|
Remarks
The method does not add the specified appointment and returns false, if the Cancel property of your AppointmentRemoving event implementation returns true.
See Also