Skip to main content
A newer version of this page is available. .

AppointmentResourcesEdit Class

Represents 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.v19.1.dll

Declaration

public class AppointmentResourcesEdit :
    CheckedResourcesComboBoxControlBase

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.

The AppointmentResourcesEdit control gives end-users the ability to select multiple resources for the appointment by checking them in the list.

To link a AppointmentResourcesEdit control to a scheduler, set the SchedulerControl property to the required SchedulerControl object.

The typical appearance of a AppointmentResourcesEdit is shown in the picture below.

AppointmentResourcesEdit

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}"/>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AppointmentResourcesEdit class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Show 18 items
Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
BaseEdit
TextEditBase
TextEdit
ButtonEdit
PopupBaseEdit
LookUpEditBase
ComboBoxEdit
DevExpress.Xpf.Scheduler.UI.SchedulerBoundComboBoxEdit
DevExpress.Xpf.Scheduler.UI.ResourcesComboBoxControlBase
DevExpress.Xpf.Scheduler.UI.CheckedResourcesComboBoxControlBase
AppointmentResourcesEdit
See Also