Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerViewBase.GetResources() Method

Gets a collection of visible resources for the current Scheduler view.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public virtual ResourceBaseCollection GetResources()

#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.

See Also