Silverlight 5 AccessViolationException

后端 未结 5 2007
别跟我提以往
别跟我提以往 2021-01-20 22:11

I installed the Silverlight 5 VS 2010 tools and the 64-bit Developer runtime and now I get a System.AccessViolationException when I do a specific action. The projects are st

5条回答
  •  我在风中等你
    2021-01-20 22:15

    I'm seeing this exception when databinding to a hidden element. We have some fields that are visible or not based on some databinding, but both of those fields are updated with another databinding. When the RaisePropertyChanged is fired on the hidden field we get the AccessViolationException. I had to add some checks to my code to suppress the RaisePropertyChanged when the control isn't visible.

提交回复
热议问题