ViewBase.RoundSelectedInterval(DateTimeRange) Method
When overridden in a derived class, stretches the specified time interval to the time slot boundaries.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.1.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
Parameters
Name | Type | Description |
---|---|---|
interval | DateTimeRange | A DateTimeRange object that is the original time range. |
Returns
Type | Description |
---|---|
DateTimeRange | A DateTimeRange object that is the time range aligned to the time slot boundaries. |
Remarks
This method is implemented in the descendants of the ViewBase class:
- DayViewBase.RoundSelectedInterval
- MonthView.RoundSelectedInterval
- TimelineView.RoundSelectedInterval
See Also