Back to Devexpress

ViewBase.RoundSelectedInterval(DateTimeRange) Method

wpf-devexpress-dot-xpf-dot-scheduling-dot-viewbase-dot-roundselectedinterval-x28-devexpress-dot-mvvm-dot-datetimerange-x29.md

latest2.1 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public abstract DateTimeRange RoundSelectedInterval(
    DateTimeRange interval
)
vb
Public MustOverride Function RoundSelectedInterval(
    interval As DateTimeRange
) As DateTimeRange

Parameters

NameTypeDescription
intervalDateTimeRange

A DateTimeRange object that is the original time range.

|

Returns

TypeDescription
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:

See Also

ViewBase Class

ViewBase Members

DevExpress.Xpf.Scheduling Namespace