在XAML中转义大括号

我们知道大括号"{}"在XAML中是用来处理"标记扩展的, 
比如:

<Button Content="{Binding}"/>

 
但如何转义而表示普通大括号的字符串呢? 比如

 <Button Content="{these are braces}, {Others}"/>

但这会编译不过,说未定义的扩展标记. 正确的写法

<Button Content="{}{these are braces}, {Others}"/> 

转载自:http://blog.csdn.net/zhouyinhui/article/details/4614445

原文地址:https://www.cnblogs.com/wingkin/p/2658381.html