Skip to main content

DxSchedulerDateTimeRange.Intersect(DxSchedulerDateTimeRange) Method

Returns a range that is the intersection of the current range and the specified range.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public DxSchedulerDateTimeRange Intersect(
    DxSchedulerDateTimeRange x
)

Parameters

Name Type Description
x DxSchedulerDateTimeRange

The range to check for intersection.

Returns

Type Description
DxSchedulerDateTimeRange

The intersection of the current and specified ranges. If these ranges do not intersect, the Empty value is returned.

Remarks

The resulting range’s Start property is set to the latest date among start dates of two ranges. The resulting ranges’s End property is set to the earliest date among end dates of two ranges.

See Also