Documentation error ("Button.IsPressed")

Aug 11, 2009 at 6:50 PM

InputInjection.doc says: "For example, a test can call the Button.IsPressed method to simulate pressing a WPF button."

I believe this is incorrect as Button.IsPressed is read-only?

A better example would be nice here, since the samples only show how to access controls via mouse clicking and keyboard typing.


Aug 11, 2009 at 8:20 PM

Thanks for catching this!  We've filed a bug in our internal tracking database to fix this for the next release.


Much appreciated!