Hi,
I'm trying to Dynamically bind the background color of an Appointment, so it changes based on data in my model. However, I can't get it to update properly when the data in my model changes. Changing the AppointmentContentTemplate doesn't allow me to set the set the entire background, so I guess it has to be done through a Style. I have a working style which set the background correctly, however in Silverlight it seems I can't bind to a Setter. Therefore I cant use a Style binds to my Model, I wrote a custom style selector which selects a style based on the Model data. This works correctly, but doesn't update instantly when the Appointment changes. When I change the Appointment, the background isn't changed until I switch between views.
Does anyone know how I can make the background color react to changes in my model instantly?