Livet er vidunderligt RSS 2.0
# Friday, 04 October 2013

Becaus StringFormat is required and target to is be a string type. You can get around this by either using a TextBlock instead (which has a Text property) or putting the Textblock as the child of the Label:

<Label x:Name="myLabel">
   
<Label.Content>
       
<TextBlock>
           
<TextBlock.Text> <MultiBinding StringFormat="{}{0} - {1}">
                   
<Binding Path="Lib1" />
                   
<Binding Path="Lib2" />
                
</MultiBinding>
           
</TextBlock.Text>
       
</TextBlock>
   
</Label.Content>
</Label>

Friday, 04 October 2013 12:18:37 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
Comments are closed.
Archive
<2017 October>
SunMonTueWedThuFriSat
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2017
Christian R. Glinnum
Sign In
Statistics
Total Posts: 128
This Year: 0
This Month: 0
This Week: 0
Comments: 16
Themes
All Content © 2017, Christian R. Glinnum
DasBlog theme 'Business' created by Christoph De Baene (delarou)