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

SchedulerControl.AppointmentSearchInterval Property

Specifies the time span used by navigation buttons to search for the nearest appointments (in days) to limit it to a reasonable range. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public TimeSpan AppointmentSearchInterval { get; set; }

#Property Value

Type Description
TimeSpan

A TimeSpan value, specifying the search range.

#Remarks

If the current view enables using the navigation buttons (the SchedulerViewBase.NavigationButtonsVisibility is set to NavigationButtonVisibility.Auto or NavigationButtonVisibility.Always), the search for the nearest appointment may create the following problem. If the calculation algorithm encounters recurring appointments in the filtered appointment subset, it searches for the end of the recurrence chain. If the appointment does not specify the recurrence end date, the search operation results in an endless loop, which hangs the application.

Specify the AppointmentSearchInterval property or use the SchedulerControl.LimitInterval property to solve this problem.

The default value for the AppointmentSearchInterval property is 730 days (2 years). Therefore, by default, appointments older than 2 years won’t be recognized by Navigation Buttons.

See Also