I have a binding without path using a converter. This is because the converter will use many properties of the object to build the text for the tooltip. But when one property changes (INotifyPropertyChanged is implemented and OnPropertyChanged raised), this binding without path does not get updated. I guess because it does not bind to a specific property.
How to tell that it has to update?
I try to be more specific:
The bar object has a 'Start' property. When I change this the bar moves in time because the binding gets directly to the Start property. So the notification works for single properties. But the tooltip binding is {Binding Converter={StaticResource TooltipConverter}}
and does not bind to a specific property. When 'Start' changes, the bar is moved but the tooltip does not update because the tooltipconverter is not called again.
The bar is one object in an ObservableCollection<Bar>
. Should the bar tell the collection or the view model? Normally is would not have any relationship to it.
PropertyChangedEvent
withstring.empty
– Jehof