Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.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