Back to Devexpress

DxSchedulerDateTimeRange.Intersect(DxSchedulerDateTimeRange) Method

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

latest1.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public DxSchedulerDateTimeRange Intersect(
    DxSchedulerDateTimeRange x
)

Parameters

NameTypeDescription
xDxSchedulerDateTimeRange

The 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