How to set a default source for an Image if binding source is null?

后端 未结 8 1845
无人及你
无人及你 2021-02-05 09:00

I\'m using binding for source of an Image control.


But this ImageUri can

8条回答
  •  -上瘾入骨i
    2021-02-05 09:18

    You should try to play with FallBackValue here. These two links should provide more help

    WPF Binding - Default value for empty string

    MSDN

提交回复
热议问题