OneWayToSource Binding seems broken in .NET 4.0

前端 未结 6 665
我寻月下人不归
我寻月下人不归 2020-11-27 05:45

OneWayToSource Binding seems broken in .NET 4.0

I have this simple piece of Xaml


    

        
6条回答
  •  心在旅途
    2020-11-27 06:04

    Bug, definitely.

    if it's a "feature", it's a very bad one...

    it seems they have added a call to the get() function after the set() is done, even in the OneWayToSource mode... can anybody explain why ?

    also, thanks for pointing this out, it explains an issue I have had since I upgraded my project to .net 4.0 and that I could not explain until now...

    just a side note: I have solved this by using dependency properties in the end.

提交回复
热议问题