I have this small problem. I want to capture every time a property is changed.
This property is wrapped inside another user control:
var color = (CustomWPFColorPicker.ColorPickerControlView) elementHost1.Child;
color.CurrentColor <--This property.
How can I detect when the CurrentColor property has changed?
Implement INotifyPropertyChanged on your custom control and raise the
PropertyChangedevent when the given properties change.The consumer can then register for the
PropertyChangedevent and check the property which raised the event to see if it is the property they care about.Then the consumer can register for the event and check the property as needed…