silverlight - Disable ConvertBack() on TwoWay binding when using UpdateSource() -


i maintaining silverlight app, , had resort manually rebind textboxes' text.

so use:

mytextbox.getbindingexpression(textbox.textproperty).updatesource();  

problem is, textbox needs have twoway binding, set it. control uses unorthodox ivalueconverter, should never convertback, since got twoway binding... gets called.

is there way disable convertback(), , yet let convert() job?

thanks ;)

you should use converter handle both directions...

subclass existing converter , have convertback hide existing 1 (and return harmless) while convert calls base.convert.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -