Skip to main content

SchedulerPrintAdapter.GetResources() Method

Obtains a collection of visible resources.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v23.2.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public ResourceBaseCollection GetResources()

Returns

Type Description
ResourceBaseCollection

A ResourceBaseCollection object containing currently visible resources.

Remarks

If there are no visible resources (e.g. the ReportViewBase.VisibleResourceCount is set to 0) , this method returns a collection of several fake resources.

You can use the SchedulerPrintAdapter.ValidateResources event to perform a final check of the resources passed to the report.

See Also