0

how do i invoke convertback method on a control say textbox or button that has been assigned converter in the xaml markup. I need to get the binding value instead of the displayed value. the content property gives the displayed value but i need the original binding value.

4

1 回答 1

0

您应该将BindingMode设置为TwoWay. 这将调用您的 ConvertBack 方法。如果您需要实际的原始绑定值,那么我的猜测是创建自定义附加行为并在它的帮助下记住值。

于 2013-03-13T20:38:54.940 回答