I have a fixeddocument in which i have an image. The source-property of the image is bound to a byte-array (read from the database) in the datacontext of the document. When I am moving the mouse over the image I get a filenotfoundexception.
It looks like the documentviewer tries to load additional information about the rendered image from a file named "image" in the working directory which of course does not exist.
Does somebody know how to disable this behavior?
You can create a BitmapImage from a byte array with the following converter:
Then in your xaml you would use this like so: