AppointmentViewModel(AppointmentItem, ResourceItem, ObservableCollection<ResourceItem>, AppointmentLabelItem, AppointmentStatusItem, Boolean, DateTimeRange) Constructor
In This Article
Initializes a new instance of the AppointmentViewModel class with specified settings.
Namespace: DevExpress.Xpf.Scheduling.VisualData
Assembly: DevExpress.Xpf.Scheduling.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
#Declaration
public AppointmentViewModel(
AppointmentItem appointment,
ResourceItem resource,
ObservableCollection<ResourceItem> resources,
AppointmentLabelItem label,
AppointmentStatusItem status,
bool isSelected,
DateTimeRange visibleInterval
)
#Parameters
Name | Type | Description |
---|---|---|
appointment | Appointment |
The source appointment. |
resource | Resource |
The resource associated with the appointment. |
resources | Observable |
The collection of all resources associated with the appointment. |
label | Appointment |
The label object associated with the appointment. |
status | Appointment |
The status object associated with the appointment. |
is |
Boolean |
|
visible |
Date |
The time interval displayed in the view. |
See Also