How can I force WPF to make data bindings without showing the window?

Posted by Alexandru Bolboaca on Stack Overflow See other posts from Stack Overflow or by Alexandru Bolboaca
Published on 2010-04-23T05:31:03Z Indexed on 2010/04/23 5:33 UTC
Read the original article Hit count: 379

Filed under:
|
|

I want to unit test a WPF application and one scenario is to check that data bindings are correct. The simple way to do that would be to create the form, force it to bind to data and then compare the values from the controls with the expected ones. Is there any way to do that?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about databinding