Skip to main content
A newer version of this page is available.
All docs
V20.2

AppointmentCRUDEventArgs(RoutedEvent, IList<AppointmentItem>, IList<AppointmentItem>, IList<AppointmentItem>, IList<AppointmentItem>, Action, Action<AppointmentItem[]>) Constructor

Initializes a new instance of the AppointmentCRUDEventArgs class with specified settings.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, DevExpress.Wpf.Scheduling

Declaration

public AppointmentCRUDEventArgs(
    RoutedEvent routedEvent,
    IList<AppointmentItem> appointments,
    IList<AppointmentItem> addToSource,
    IList<AppointmentItem> deleteFromSource,
    IList<AppointmentItem> updateInSource,
    Action undo,
    Action<AppointmentItem[]> undoAppts
)

Parameters

Name Type Description
routedEvent RoutedEvent

The routed event.

appointments IList<AppointmentItem>

The list of appointments that have been modified in the scheduler.

addToSource IList<AppointmentItem>

A list of DevExpress.Xpf.Scheduling.AppointmentItem objects that have been added to the scheduler.

deleteFromSource IList<AppointmentItem>

A list of DevExpress.Xpf.Scheduling.AppointmentItem objects that have been deleted from the scheduler.

updateInSource IList<AppointmentItem>

A list of DevExpress.Xpf.Scheduling.AppointmentItem objects that have been changed in the scheduler.

undo Action

A System.Action object that reverts changes made to appointments in the scheduler.

undoAppts Action<AppointmentItem[]>

A System.Action object that reverts changes made to the specified appointments in the scheduler.

See Also