Image Source binded to missing file
Posted
by Am
on Stack Overflow
See other posts from Stack Overflow
or by Am
Published on 2010-04-30T10:15:55Z
Indexed on
2010/04/30
11:27 UTC
Read the original article
Hit count: 207
How can I display a default image when the binded path file is missing?
<Image Source="{Binding DisplayedBook.ImagePath}" />
My solution: Used a converter, which check if the image exists and returns the appropriate path.
© Stack Overflow or respective owner