wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-76e17c45.md
Provides access to the resources for appointments.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public ResourceItemCollection ResourceItems { get; }
Public ReadOnly Property ResourceItems As ResourceItemCollection
| Type | Description |
|---|---|
| ResourceItemCollection |
A ResourceItemCollection object that is the collection of resources.
|
Use the ResourceItems property to obtain the collection of resources for appointments.
Specify the SchedulerControl.DataSource and set the required DataSource.ResourceMappings to load resources from a data source.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ResourceItems property.
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.
wpf-scheduler-specify-custom-work-time-intervals/CS/CustomWorkTimeExample/MainWindow.xaml#L32
ResourceColors="{StaticResource MyResourceColors}">
<dxsch:SchedulerControl.ResourceItems>
<dxsch:ResourceItem Caption="One" Id="1" />
See Also