SchedulerViewBase.GetResources() Method
Gets a collection of visible resources for the current Scheduler view.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v19.2.dll
Declaration
Returns
Type | Description |
---|---|
ResourceBaseCollection | An ResourceBaseCollection object, representing a collection of visible resources. |
Remarks
If the current view has no assigned resources, this method returns a new collection which does not contain elements.
Resources Storage is accessible via the SchedulerStorage.Resources property. All resources in the Storage can be obtained via its ResourceStorageBase.Items property. If resources pass through filters, represented by the ResourceStorage.Filter property and the SchedulerStorageBase.FilterResource event, you can use the SchedulerViewBase.GetFilteredResources method to obtain a collection of filtered resources.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetResources() method.
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.