corelibraries-devexpress-dot-xtrascheduler-dot-resourcestoragebase-46814d06.md
Gets the collection of resources within the storage.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll
NuGet Package : DevExpress.Scheduler.CoreDesktop
[Browsable(false)]
public ResourceCollection Items { get; }
<Browsable(False)>
Public ReadOnly Property Items As ResourceCollection
| Type | Description |
|---|---|
| ResourceCollection |
A ResourceCollection object that contains a collection of resources.
|
Use this property to access the collection of resources within the resource storage. You can add, remove and access individual items using the properties and methods of the returned ResourceCollection object.
Items contained within the collection can be accessed with the Item property using index notation.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Items 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.
winforms-scheduler-print-appointments-using-reports/CS/PrintingViaReports/Form1.cs#L112
{
ResourceCollection resources = storage.Resources.Items;
storage.BeginUpdate();
winforms-scheduler-print-appointments-using-reports/VB/PrintingViaReports/Form1.vb#L103
Private Sub FillResources(ByVal storage As SchedulerStorage, ByVal count As Integer)
Dim resources As ResourceCollection = storage.Resources.Items
storage.BeginUpdate()
See Also