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

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

#Declaration

public IList AppointmentResourceIds { get; set; }

#Property Value

Type Description
IList

A IList object representing the collection of resource IDs.

#Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

Unlike the AppointmentFormControllerBase.ResourceIds property, the AppointmentResourceIds property can be used to set the IDs of resources associated with the appointment.

#Example

This example demonstrates how to bind the AppointmentResourcesEdit control on the custom Edit Appointment form to the SchedulerControl object by 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}"/>
See Also