DayViewBase.RoundSelectedInterval(DateTimeRange) Method
Stretches the specified time interval to the time slot boundaries.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
#Declaration
public override DateTimeRange RoundSelectedInterval(
DateTimeRange interval
)
#Parameters
Name | Type | Description |
---|---|---|
interval | Date |
A Date |
#Returns
Type | Description |
---|---|
Date |
A Date |
#Remarks
The RoundSelectedInterval method changes the specified time interval’s start and end values to the values of time slots encompassing the interval. The resulting start value is the start of the time slot containing the original interval’s start, the resulting end value is the end of the time slot containing the interval’s end.
Note
The Day