AppointmentViewModel(AppointmentItem, AppointmentLabelItem, AppointmentStatusItem, Boolean, DateTimeRange) Constructor

Initializes a new AppointmentViewModel instance for the specified appointment with the passed label, status and other parameters.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll


public AppointmentViewModel(
    AppointmentItem appointment,
    AppointmentLabelItem label,
    AppointmentStatusItem status,
    bool isSelected,
    DateTimeRange visibleInterval


Name Type Description
appointment AppointmentItem

The appointment item for whose visual representation the view model provides data.

label AppointmentLabelItem

The appointment's label.

status AppointmentStatusItem

The appointment's status.

isSelected Boolean

true, if the appointment is selected; otherwise, false.

visibleInterval DateTimeRange

The appointment's visible interval.

See Also