Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: How to force a call to ResolveEditor ( a function in ITypeEditor)

$
0
0
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.

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>