You would need to add the desired resources to the Resources property of the Appointment in order to get it working correctly. I have modified the provided code snippet in order to demonstrate the exact approach:
var appointments = new ObservableCollection<Appointment>();
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.