DateTimeRange.Intersect(DateTimeRange, Boolean) Method
In This Article
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 | Date |
The range with which the intersection should be computed. |
#Optional Parameters
Name | Type | Default |
---|---|---|
include |
Boolean | True |
#Returns
Type | Description |
---|---|
Date |
The intersection of the ranges. |
See Also