Dear Telerik Team!
I use custom appointment which inherits from EntityObject. What I want to achieve is to place a button on an appointment, so I placed following code on the custom appointment template:
<Button Grid.Column=
"0"
Grid.Row=
"1"
Content=
"{Binding Appointment.Approved}"
Width=
"50"
Height=
"50"
prism:Click.CommandParameter=
"{Binding Appointment.Id}"
prism:Click.Command=
"{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}, Path=DataContext.TaskApprovalCommand}"
/>
I'm able to click the button and execute its command, but when I change "Approved" property the UI is not updating. When I try to bind the content of the button to some other property, like "Subject" it is working fine. The problem is with custom properties, the ones which are not part of original appointment class. Could you please suggest some solution for that problem? I'd be very grateful.
Many thanks and best regards
Krzysztof Kaźmierczak