Skip to content

FontIcon versus TextBlock (with only an icon code as content) #8612

Answered by codendone
Jay-o-Way asked this question in Q&A
Discussion options

You must be logged in to vote

FontIcon exists for use in places which require an IconElement, such as for AppBarButton.Icon or MenuFlyoutItem.Icon. It is fine to use FontIcon elsewhere, but internally it just uses a TextBlock which would be fine to use directly in places which don't require an IconElement.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jay-o-Way
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants