Scott Ge
Scott Ge

Reputation: 91

IconElement to display ①

I want to use IconElement to display ①. I cannot find it in https://learn.microsoft.com/en-us/windows/uwp/style/segoe-ui-symbol-font How can I do it?

Thanks Scott

Upvotes: 1

Views: 725

Answers (1)

Justin XL
Justin XL

Reputation: 39006

The easiest built-in icons are from SymbolIcon with intellisense support when you write them.

<SymbolIcon Symbol="Help" />

Then you have FontIcon but you will need to know what to put in Glyph. I normally find them from Character Map on Windows 10.

<FontIcon Foreground="Wheat" 
          FontFamily="Candara" Glyph="&#x03A3;" />
<FontIcon Foreground="Wheat" 
          FontFamily="Segoe MDL2 Assets" Glyph="&#xE00B;" />

You can also replace FontIcon with TextBlock.

<TextBlock Foreground="Wheat" 
           Text="&#xE001;" FontFamily="Segoe UI Symbol" />

Update

Man... I just realized you were looking for a specific icon. It can be found in Segoe UI Symbol from the Character Map.

<FontIcon Foreground="Wheat" 
              Glyph="&#x2460;" FontFamily="Segoe UI Symbol" />

enter image description here

Upvotes: 3

Related Questions