SchedulerViewBase.GetResources() Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v21.2.dll


public virtual ResourceBaseCollection GetResources()


Type Description

An ResourceBaseCollection object, representing a collection of visible resources.


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