i have a list property like that
protected IList<System.Windows.Media.Color> colors;
public IList<System.Windows.Media.Color> Colors
{
get { return colors; }
set { colors = value; }
}
and i have a function
protected void updateBuffers()
which needs to be called each time a property user change the property, for example
Colors.Add(...)
...
Colors.Clear(...)
is there an elegent simple way to do that?