A newer version of this page is available. Switch to the current version.

ResourceCollection Class

Represents a resource collection.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll

Declaration

public class ResourceCollection :
    ResourceBaseCollection
Public Class ResourceCollection
    Inherits ResourceBaseCollection

Related API Members

The following members accept/return ResourceCollection objects:

Library Related API Members
Cross-Platform Class Library IResourceStorageBase.Items
ResourceStorageBase.Items
WinForms Controls ResourceDataStorage.Items
WPF Controls ResourceStorage.Items

Remarks

The ResourceCollection class represents a collection of Resource objects. Its properties and methods can be used to perform common collection operations such as adding new or deleting existing items. Individual items can be accessed using indexer notation via the ResourceBaseCollection.Item property.

The scheduler's resources are stored within its storage which can be accessed via the SchedulerControl.Storage property. The resource settings are stored in the ResourceStorage object which is returned by the SchedulerStorage.Resources property. Resources themselves are contained within the ResourceStorageBase.Items collection.

Inheritance

Object
DXCollectionBase<Resource>
DXCollection<Resource>
NotificationCollection<Resource>
DevExpress.XtraScheduler.SchedulerCollectionBase<Resource>
ResourceBaseCollection
ResourceCollection
See Also