How to use Segoe UI symbol in XAML

19,255

From the MSDN forums:

<TextBlock Text="&#xE26E;" FontFamily="Segoe UI Symbol">

The trick is to replace U+1234 with &#x1234;. The latter is an XML character entity.

Your platform must support this font in order for this to work.

Share:
19,255
user2334154
Author by

user2334154

Updated on June 18, 2022

Comments

  • user2334154
    user2334154 about 2 years

    Seems like an easy one, but I can't figure out how to do/use these symbols. I want to use a U+E135 symbol and I can't figure out how to do it. Can someone give me a TextBlock example and also explain how I go about getting the hex equivalent to use in XAML. Thanks.