How can I get TextBlock to literally say "{Binding}"?
In XAML, if you insert
<TextBlock Text="Hello World" />
You will see the words "Hello World".
If you insert
<TextBlock Text="{Binding}" />
it will call the data binding function. But what if I really wanted the displayed text to be "{Binding}"?
Is there an equivalent escape characters in XAML strings?
Or my only solution for this:
<TextBlock>Binding</TextBlock>
+3
4 answers