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

ResourceCollection Class

Represents a resource collection.

Namespace: DevExpress.XtraScheduler

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

Declaration

public class ResourceCollection :
    ResourceBaseCollection

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ResourceCollection 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.

Inheritance

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