Glyphs.UnicodeString Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the Unicode string to render in glyphs.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<Glyphs UnicodeString="string"/>
Property Value
Type: System.StringA Unicode string with XAML-compatible encoding. The default is an empty string.
Dependency property identifier field: UnicodeStringProperty
Glyphs does not have a content property (you do not define the glyphs by declaring text as the inner text of a Glyphs object element). Instead, you specify the individual glyphs through either UnicodeString or Indices. Of these, using UnicodeString is probably the most common, because it is the easiest to capture a Unicode string from the output of various applications that are used to compose text. You can use UnicodeString to specify the basic glyph information and then can adjust values in Indices to refine the advance and offset spacings within the set of glyphs.
UnicodeString only supports a one-to-one mapping of Unicode points to glyphs. To show surrogates or double-byte characters in multi-byte languages, use the Indices property.