Skip to main content
All docs
V25.1
  • DateTimeRange.IntersectsWith(DateTimeRange, Boolean) Method

    Checks whether the specified time range intersects with the current range.

    Namespace: DevExpress.Maui.Scheduler

    Assembly: DevExpress.Maui.Mvvm.dll

    NuGet Package: DevExpress.Maui.Mvvm

    Declaration

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

    Parameters

    Name Type Description
    x DateTimeRange

    The time range.

    Optional Parameters

    Name Type Default Description
    includeBounds Boolean True

    true if the intersection takes into account the bounds of time ranges; otherwise, false.

    Returns

    Type Description
    Boolean

    true if the specified time range intersects with the current range; otherwise, false.

    See Also