Skip to main content

DateTimeRange.Intersect(DateTimeRange, Boolean) Method

Computes the intersection of the current range with the specified range.

Namespace: DevExpress.Mvvm

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

NuGet Package: DevExpress.WinUI

Declaration

public DateTimeRange Intersect(
    DateTimeRange x,
    bool includeBounds = true
)

Parameters

Name Type Description
x DateTimeRange

The range with which the intersection should be computed.

Optional Parameters

Name Type Default
includeBounds Boolean True

Returns

Type Description
DateTimeRange

The intersection of the ranges.

See Also