AppointmentFormController.AppointmentResourceIds Property
Gets or sets the identifiers of all resources associated with the appointment currently being edited in the form.
Namespace: DevExpress.Xpf.Scheduler.UI
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
IList | A IList object specifying the collection of resource IDs. |
#Remarks
Unlike the AppointmentFormControllerBase.ResourceIds property, the AppointmentResourceIds property can be used to set the IDs of resources associated with the appointment.
#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}"/>