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.v20.1.dll

Declaration

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

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