Binding to two values

Posted by developer on Stack Overflow See other posts from Stack Overflow or by developer
Published on 2010-04-01T14:51:17Z Indexed on 2010/04/01 14:53 UTC
Read the original article Hit count: 270

Filed under:
|

Hi All, Is it possible to bind a label content to two values. For eg, I want a single label whose content is displayed as below, UserName= Firstname, Lastname

where Firstname and Lastname, both are values from database. If I would be using to labels I would bind as Content={Binding Firstname} for one and Content={Binding Lastname} for another. But I want a single label to display both. Is it possible?

© Stack Overflow or respective owner

Related posts about wpf-binding

Related posts about c#