Skip to main content

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

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

Namespace: DevExpress.Maui.Scheduler

Assembly: DevExpress.Maui.Scheduler.dll

NuGet Package: DevExpress.Maui.Scheduler

Declaration

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

Parameters

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