Skip to main content

DateTimeRange.Contains(DateTime, Boolean) Method

Checks whether the current range contains the specified date-time range.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.WinUI.Mvvm.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public bool Contains(
    DateTime date,
    bool includeRangeEnd = false
)

Parameters

Name Type Description
date DateTime

The date time range to check.

Optional Parameters

Name Type Default
includeRangeEnd Boolean False

Returns

Type Description
Boolean

true if the current range contains the specified date-time range; otherwise, false.

See Also