The type of the property should be IOccurrence
in order to work both with appointments and occurrences of recurring appointments. Please change the property as shown below:
_selectedAppointment = value;
Hope this helps.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.