Concatenate strings instead of using a stack of TextBlocks

后端 未结 4 1072
北荒
北荒 2020-12-04 09:43

I want to show a list of Customer objects in a WPF ItemsControl. I\'ve created a DataTemplate for this:

    

        
4条回答
  •  粉色の甜心
    2020-12-04 09:57

    In case you want to concat a dynamic value with a static text, try this:

    
    

    Displays: 234-334-5566 (SSN)

提交回复
热议问题