Reputation: 35637
From BindingBase.StringFormat Property
<MultiBinding StringFormat="{}{0} -- Now only {1:C}!">
What does the first {} mean? Is it a way to tell that { } which is normally syntax characters in XAML, will be treated as normal character? How exactly do we use this?
Upvotes: 4
Views: 130
Reputation: 5605
Look at this article on MSDN {} Escape Sequence / Markup Extension which says
The escape sequence ({}) is used so that an open brace ({)can be used as a literal character in XAML.
Upvotes: 3