I'm using RadScheduleView in a WPF MVVM application. The AppointmentsSource property is bound to an observable collection ObservableCollection in the ViewModel. So I have all appointments in thew view model.
How can I easily calculate if there is an ongoing appointment at the current moment ?
How can I calculate when is the next appointment ?
Bear in mind that some of the appointments have the recurrence property set.