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

AppointmentResourceEdit Class

A combo box editor used to select a single resource.

Namespace: DevExpress.Xpf.Scheduling.Editors

Assembly: DevExpress.Xpf.Scheduling.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, DevExpress.Wpf.Scheduling

Declaration

public class AppointmentResourceEdit :
    ItemComboBoxEdit

Remarks

The AppointmentResourceEdit is a combo box editor which displays resource captions (ResourceItem.Caption) and squares filled with the color determined by the ResourceItem.Color property (or obtained from the SchedulerControl.ResourceBrushSchemas collection, if the Color property is not assigned). Set the ItemComboBoxEdit.Scheduler property to the SchedulerControl instance to display resources from the SchedulerControl.ResourceItems collection.

The AppointmentResourceEdit control with two sample resources is shown below.

WPFScheduler_AppointmentResourceEdit

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AppointmentResourceEdit 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.

See Also