x:Name
and x:Reference
are both markup extensions. An extension is a XML node that entirely replaces itself with a new value after the XML content has been parsed. In the case of the x:Reference
node, it replaces itself with the item being referenced.}
character). Conversely, if the value needs to include the comma character, you can wrap the value in single quotes, such as: