Partager via


Character Entities and XAML

Extensible Application Markup Language (XAML) uses character entities defined in XML for special characters.

Character Entities used in XAML

Generally speaking, uses the same character entities and escaping defined in XML. These will not be repeated in this topic.

A backslash (\) does not need to be escaped when handled as a string.

A curly brace ({ or } character) is escaped by a different mechanism. For details, see {} Escape Sequence / Markup Extension.

See Also

Reference

{} Escape Sequence / Markup Extension
XAMLName Grammar

Concepts

XAML Overview
Markup Extensions and XAML
Whitespace Processing in XAML