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

WorkTime(Int32, Int32) Constructor

In This Article

Initializes a new WorkTime class instance.

Namespace: DevExpress.XtraGantt.Scheduling

Assembly: DevExpress.XtraGantt.v24.2.dll

NuGet Package: DevExpress.Win.Gantt

#Declaration

public WorkTime(
    int fromHours,
    int toHours
)

#Parameters

Name Type Description
fromHours Int32

An Int64 value that specifies the start time, in ticks, of the interval.

toHours Int32

An Int64 value that specifies the end time, in ticks, of the interval.

See Also