SchedulerViewBase.GetResources() Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

public virtual ResourceBaseCollection GetResources()
Public Overridable Function GetResources As ResourceBaseCollection

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