Hi
Pascal,
#Regarding
How to get the Actual Recurrence Appointment from the recurrence appointment.
We
suggest you use the GetPatternAppointment method in the
SchedulerRecurrenceManager class to get the actual recurrence appointment. And
the occurrence appointment has been cloned with the appointment mapping fields
mentioned alone, the additional property can get from the actual occurrence
appointment by using the
GetPatternAppointment method.
Code
snippet
|
private void
SfScheduler_DoubleTapped(object sender, SchedulerDoubleTappedEventArgs e)
{
var vm = BindingContext as MainViewModel;
if (vm == null || e.Appointments?.Any() == false) return;
var actualAppointment =
SchedulerRecurrenceManager.GetPatternAppointment(this.SfScheduler,
e.Appointments.First());
vm.ShowInfo(e.Appointments.First() as Meeting, (actualAppointment as
SchedulerAppointment).Data as Meeting);
}
internal void ShowInfo(Meeting
meeting, Meeting ActualAppointment)
{
InfoText = meeting.EventName + "-" +
ActualAppointment.BusinessSpecificData;
}
|
Please
refer to the modified sample in the following locations.
Sample:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/SchedulerQuestion21715653249
Note: We will update the
UG documentation to get the recurrence and occurrence appointment details by
using the SchedulerRecurrenceManager helper class.
Please
let us know if you have any concerns.
Regards,
SaiGanesh Sakthivel