Hey Telerik,
I'd like to have a reference to the resource column the AppointmentItem is shown in.
This is very useful to change the styling of the appointment based on the column it is shown in.
Since now there is only a reference to the Appointment ViewModel this is not possible.
In my current solution I add a "Resource" dependency property to the Appointment Data Context Proxy, and use reflection on the
groupheader's (GroupKey is the resource) AppointmentItems to set the extra property. However this is done in the a derivative class of the AppointmentsPanel and during it's arrangeoverride, needles to say it degrades performance.
Any suggestions?
Greetz,
Nico
I'd like to have a reference to the resource column the AppointmentItem is shown in.
This is very useful to change the styling of the appointment based on the column it is shown in.
Since now there is only a reference to the Appointment ViewModel this is not possible.
In my current solution I add a "Resource" dependency property to the Appointment Data Context Proxy, and use reflection on the
groupheader's (GroupKey is the resource) AppointmentItems to set the extra property. However this is done in the a derivative class of the AppointmentsPanel and during it's arrangeoverride, needles to say it degrades performance.
Any suggestions?
Greetz,
Nico