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.Includes(TimeSpan) Method

Returns whether the interval includes the specified time.

Namespace: DevExpress.XtraGantt.Scheduling

Assembly: DevExpress.XtraGantt.v24.2.dll

NuGet Package: DevExpress.Win.Gantt

#Declaration

public bool Includes(
    TimeSpan time
)

#Parameters

Name Type Description
time TimeSpan

A TimeSpan structure that specifies the time to check whether the interval includes it.

#Returns

Type Description
Boolean

true if whether the time interval includes specified time; otherwise, false.

See Also