glasswizzard
Well-known member
- Joined
- Nov 22, 2019
- Messages
- 126
- Programming Experience
- Beginner
I'm trying to get this line of code to work:
That would be inside a viewbox. I don't know if FallbackValue doesn't work with an image source or if I'm typing it out wrong, but I can't get it to work. I want to see the image at design time, that's why I'm doing this.
C#:
<Image x:Name="ViewBoxImage" Source="{Binding ViewBoxImageSource, FallbackValue=../Resources/Images/ViewBoxImageName.png}"/>
That would be inside a viewbox. I don't know if FallbackValue doesn't work with an image source or if I'm typing it out wrong, but I can't get it to work. I want to see the image at design time, that's why I'm doing this.