How can I use { symbol in xaml string? E.g.:
<TextBlock Text="{0}"/>
I can do it starting string with a space symbol:
<TextBlock Text=" {0}"/>
but I’m looking for a better solution.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Like this:
The
{}at the start tells the parser to not look for markup extensions.Alternatively, you can specify the data without using an attribute: