---
title: "Appending String While Databinding in Silverlight xaml Question"  
description: "Appending String While Databinding in Silverlight xaml Question"  
author: "Hank Greenberg"  
published: 2013-07-18  
updated: 2013-07-18  
canonical: https://www.mindstick.com/forum/1315/appending-string-while-databinding-in-silverlight-xaml-question  
category: "xml"  
tags: ["xml"]  
reading_time: 1 minute  

---

# Appending String While Databinding in Silverlight xaml Question

HI [developers](https://www.mindstick.com/articles/12875/blunders-you-must-avoid-while-hiring-java-developers-to-get-the-best-fulfilling-your-needs)!

I have a [control](https://www.mindstick.com/blog/197/asp-dot-net-repeater-control) which accepts a [string](https://www.mindstick.com/articles/1527/string-split-in-c-sharp) but when displaying it i want to append "Hello" to that string [right](https://www.mindstick.com/articles/12766/check-whether-you-are-doing-digital-transformation-right-or-not) in xaml how do i do it?

thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)

\

## Replies

### Reply by shreesh chandra shukla

Hi Hank!try this

You can bind to the property and use the StringFormat:

<TextBlock Text=”{Binding Path=UserName, StringFormat=’Hello \{0\} ’}“/>


---

Original Source: https://www.mindstick.com/forum/1315/appending-string-while-databinding-in-silverlight-xaml-question

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
