Back to Devexpress

ResourceStorageBase.Items Property

corelibraries-devexpress-dot-xtrascheduler-dot-resourcestoragebase-46814d06.md

latest3.1 KB
Original Source

ResourceStorageBase.Items Property

Gets the collection of resources within the storage.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
[Browsable(false)]
public ResourceCollection Items { get; }
vb
<Browsable(False)>
Public ReadOnly Property Items As ResourceCollection

Property Value

TypeDescription
ResourceCollection

A ResourceCollection object that contains a collection of resources.

|

Remarks

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

csharp
{
    ResourceCollection resources = storage.Resources.Items;
    storage.BeginUpdate();

winforms-scheduler-print-appointments-using-reports/VB/PrintingViaReports/Form1.vb#L103

vb
Private Sub FillResources(ByVal storage As SchedulerStorage, ByVal count As Integer)
    Dim resources As ResourceCollection = storage.Resources.Items
    storage.BeginUpdate()

See Also

ResourceStorageBase Class

ResourceStorageBase Members

DevExpress.XtraScheduler Namespace