Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

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

C#
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