没有在图像源上绑定的值转换器

3 wpf binding image converter

我需要通过值转换器获取图像的路径.但是,我找不到任何使用没有绑定的值转换器的示例.

我希望沿着这些方向做点什么:

<Image source="{Value=Image1, Converter={ImageConverter}}" />
Run Code Online (Sandbox Code Playgroud)

然后,图像转换器将检查图像文件夹并返回正确的文件路径.

Ken*_*art 7

为什么不使用Binding这样的:

<Image Source="{Binding ., Converter={StaticResource ImageConverter}, ConverterParameter=Image1}"/>
Run Code Online (Sandbox Code Playgroud)

那不够吗?