How can I get the data out of the schedule

Hello, 

Im very new to the Syncfusion tools and I created a Schedule with WPF. But now I want to read out the information when a user creates an appointment, so that I have an Appointment object that contains the information the user just created. I dont know if im too stupid but I cant get it...

Thank you for your help

1 Reply

SG Swathi Gopal Syncfusion Team October 30, 2017 10:23 AM UTC

 
Hi Sascha, 
  
Thanks for contacting Syncfusion Support. 
  
Based on your query with showing the appointments details that are newly created, we have prepared the simple sample in Schedule. Please find the sample link below. Using “AppointmentCollectionChanged” event you can get the created appointment details. Kindly refer the below code snippet. 
  
[c#] 
 
 private void Schedule_AppointmentCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) 
  
       if (e.Action == NotifyCollectionChangedAction.Add) 
      
           NewlyAddedAppointment = e.NewItems[0] as ScheduleAppointment
      
  
 
 
Sample link: SfSchedule_Appointment
 
  
You can also refer our user guide documentation for the same from the below link, 
  

If the provide sample does not meet your requirement, kindly provide us with more details about your query by modifying the provided sample. It will helpful for us to check on it and provide you the better solution at the earliest.
 
  
Regards, 
Swathi G 


Loader.
Up arrow icon