I am using a custom editor with attributes for a read-only property which is of type double. The foreground color of the textbox for the property depends on whether the property is in or out a tolerance defined somewhere else. Currently I can fish out the tolerance value from the propertyItem argument in the ResolveEditior function and then decide the foreground color (which I am hoping to find a better way to do it). When the tolerance is modified, I could force a call to the getter of the property but the ResolveEditor was not called. As a result, the color of the property would not update if I change the tolerance value.
Any suggestion will be greatly appreciated.
Any suggestion will be greatly appreciated.