Bind to several class properties

Posted by Polaris on Stack Overflow See other posts from Stack Overflow or by Polaris
Published on 2010-05-12T07:22:09Z Indexed on 2010/05/12 7:34 UTC
Read the original article Hit count: 171

Filed under:
|

Hello developers. I have some class with properties firstName and lastName. I want bind TextBlock to concatanation of this two properties. I know that I can create third property that will be return concatanation of these properties. But I dont want to use this approach. Is it possible to Bind TextBlock to two properties. and also I dont want create composite userControl.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about databinding