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
NuGet Package: DevExpress.XamarinForms.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 |
|
| visibleInterval | DateTimeRange | The appointment’s visible interval. |
See Also