Replies: 3 comments
-
@BorzillaR Ideally, you're looking for SVG support in BitmapIcon, as proposed in #1494. Unfortunately that doesn't work yet. Instead, you can retemplate your NavigationViewItems to use an Image instead of an icon, and add SVGs that way. Not sure if that feels like the right amount of work for your scenario. |
Beta Was this translation helpful? Give feedback.
-
@YuliKl, thank you! |
Beta Was this translation helpful? Give feedback.
-
Also NavigationViewItem uses IconElement in the API, so it should be possible to define your own IconElement with svg support inside of its template or copy source of BitmapIcon. I haven't tested it, but should just work. |
Beta Was this translation helpful? Give feedback.
-
Hello!
I want to show svg image in NavigationViewItem in my WinUI for UWP application.
Is it possible?
Beta Was this translation helpful? Give feedback.
All reactions