I would like to use a several Span elements inside a TextBlock and have the content of the spans set by binding. I don't think this is possible, but wanted to double check here first.
A:
Not in front of my Windows machine right now, but maybe you could try something like this in your item template:
<TextBlock x:ID="txtCompanyInfo">
<span>{binding CompanyName}</span>
<span>{binding CompanyAddress}</span>
<span>{binding CompanyPhone}</span>
</TextBlock>
Again, this is not something I can test right now but I'd start here and see what happens.
Liam
2010-10-27 22:38:35
In that context the {Binding CompanyName} is understood as a literal string.
Ralph Shillington
2010-10-29 17:39:31