Reputation: 91
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
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="Σ" />
<FontIcon Foreground="Wheat"
FontFamily="Segoe MDL2 Assets" Glyph="" />
You can also replace FontIcon
with TextBlock
.
<TextBlock Foreground="Wheat"
Text="" FontFamily="Segoe UI Symbol" />
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="①" FontFamily="Segoe UI Symbol" />
Upvotes: 3