대부분 컨버터는 바인딩을 걸고 쓰지만 아래와 같이 영문버전 한글버전 식으로 컨버터를 쓰고 싶다면
이미지소스 에 바인딩을 걸어 버리면 된다.
1 2 3 4 5 | <Image Stretch="None" Visibility="{Binding IsShowInfoWordImage, Converter={StaticResource BoolToVisibilityConverter}}"> <Image.Source> <Binding Source="/BANAPRESSO_KIOSK;component/Images/order_list_info_words.png" Converter="{StaticResource GlobalImageNameConverter}" /> </Image.Source> </Image> |
'wpf' 카테고리의 다른 글
ViewBox에서 폰트사이즈 고정하기 (0) | 2018.08.07 |
---|---|
WPF에서 GIF 돌리기 컨트롤 (1) | 2018.05.02 |
wpf FlipView (0) | 2017.10.19 |
Listview , Button MouseOver, Selcted Color 제거 (0) | 2017.09.12 |
Converter를 쓰지 않고 바인딩된 TextBlock에 글자를 추가하고 싶을때 (0) | 2017.09.06 |