-
Sometimes I see FontIcon used, and sometimes I see a TextBlock where the only content is an icon code. Technically these both work fine, but I have a feeling the FontIcon should be used in any/all of these cases. Is there an official And if so, we could convert this (item) into an actionable issue, right? I mean, since this applies to the code in this repo just aswel. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
FontIcon
exists for use in places which require anIconElement
, such as for AppBarButton.Icon or MenuFlyoutItem.Icon. It is fine to useFontIcon
elsewhere, but internally it just uses aTextBlock
which would be fine to use directly in places which don't require anIconElement
.