Back to Devexpress

DxSchedulerDateTimeRange.Intersect(DxSchedulerDateTimeRange, DxSchedulerDateTimeRange) Method

blazor-devexpress-dot-blazor-dot-dxschedulerdatetimerange-dot-intersect-x28-devexpress-dot-blazor-dot-dxschedulerdatetimerange-devexpress-dot-blazor-dot-dxschedulerdatetimerange-x29.md

latest1.7 KB
Original Source

DxSchedulerDateTimeRange.Intersect(DxSchedulerDateTimeRange, DxSchedulerDateTimeRange) Method

Returns a range that is the intersection of two specified ranges.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public static DxSchedulerDateTimeRange Intersect(
    DxSchedulerDateTimeRange x,
    DxSchedulerDateTimeRange y
)

Parameters

NameTypeDescription
xDxSchedulerDateTimeRange

The first range to check for intersection.

| | y | DxSchedulerDateTimeRange |

The second range to check for intersection.

|

Returns

TypeDescription
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

DxSchedulerDateTimeRange Struct

DxSchedulerDateTimeRange Members

DevExpress.Blazor Namespace