Hi,
I've created a new object that derives from Appointment (named RequestAppointment) and overrides the "End" property (I've made sure to include OnPropertyChange("End") in it's set accessor). When I change this value I would expect the appointment on my ScheduleView to update, and when I breakpoint the code it steps through the set accessor then the get accessor is called and the "End" property value being returned is what I expect, yet it does not reflect in my ScheduleView.
I am bound to a collection of RequestAppointment objects in a viewmodel (xaml: AppointmentsSource="{Binding Appointments}"). Can I check with you that the end date of an appointment in ScheduleView is indeed bound to the "End" property of the appointment object and if I change "End" and raise property-changed on it I should expect the ScheduleView to update?
Thanks
I've created a new object that derives from Appointment (named RequestAppointment) and overrides the "End" property (I've made sure to include OnPropertyChange("End") in it's set accessor). When I change this value I would expect the appointment on my ScheduleView to update, and when I breakpoint the code it steps through the set accessor then the get accessor is called and the "End" property value being returned is what I expect, yet it does not reflect in my ScheduleView.
I am bound to a collection of RequestAppointment objects in a viewmodel (xaml: AppointmentsSource="{Binding Appointments}"). Can I check with you that the end date of an appointment in ScheduleView is indeed bound to the "End" property of the appointment object and if I change "End" and raise property-changed on it I should expect the ScheduleView to update?
Thanks