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.1.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
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.