What does the {} sign mean in this xaml code?
From BindingBase.StringFormat Property
<MultiBinding StringFormat="{}{0} -- Now only {1:C}!"> What does the first {} mean? Is it possible to say that {}, which is usually a syntax character in XAML, will be considered as a normal character? How exactly do we use it?
+4
1 answer
Check out this MSDN article {} Escape Sequence / Markup Extension , which says
The escape sequence ({}) is used so that the open bracket ({) can be used as a literal character in XAML.
+3