AppointmentResourcesEdit Class
A popup checked list box control used to select multiple resources in order to assign them to an appointment. It facilitates the creation of custom Edit Appointment forms.
Namespace: DevExpress.Xpf.Scheduler.UI
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
[ToolboxTabName("DX.14.2: Scheduling")]
[DXToolboxBrowsable]
public class AppointmentResourcesEdit :
CheckedResourcesComboBoxControlBase
#Remarks
The AppointmentResourcesEdit control gives end-users the ability to select multiple resources for the appointment by checking them in the list.
To link an AppointmentResourcesEdit control to a scheduler, set the SchedulerControl property to the required SchedulerControl object and bind the AppointmentResourcesEdit.ResourceIds property to AppointmentFormController.AppointmentResourceIds.
The typical appearance of an AppointmentResourcesEdit is shown in the picture below.
#Examples
This example demonstrates how to bind the AppointmentResourcesEdit control on the custom Edit Appointment form to the SchedulerControl object using the SchedulerControl and AppointmentFormController.Control properties, and select multiple (shared) resources associated with the appointment by binding the AppointmentResourcesEdit.ResourceIds property to AppointmentFormController.AppointmentResourceIds.
<dxschdui:AppointmentResourcesEdit SchedulerControl="{Binding Controller.Control}"
ResourceIds="{Binding Controller.AppointmentResourceIds, Mode=TwoWay}"/>