SchedulerPrintAdapter.GetWorkTime(TimeInterval, Resource) Method
In This Article
Gets a report’s work times for a specified time interval and resource.
Namespace: DevExpress.XtraScheduler.Reporting
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
#Declaration
public TimeOfDayIntervalCollection GetWorkTime(
TimeInterval interval,
Resource resource
)
#Parameters
Name | Type | Description |
---|---|---|
interval | Time |
A Time |
resource | Resource | A Resource specifying the resource for which the work times are queried. |
#Returns
Type | Description |
---|---|
Time |
A Time |
#Remarks
The GetWorkTime raises the SchedulerPrintAdapter.ValidateWorkTime event, so it returns correct work times.
See Also