Skip to main content

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public abstract DateTimeRange RoundSelectedInterval(
    DateTimeRange interval
)

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:

See Also