-
Notifications
You must be signed in to change notification settings - Fork 220
PathIcon (UWP only)
Jan Karger ツ ☀ edited this page Dec 18, 2019
·
2 revisions
The PathIcon controls can be used for controls which needs an IconElement derived element for their Icon property like the NavigationViewItem.
<NavigationView PaneDisplayMode="Left" IsBackButtonVisible="Collapsed">
<NavigationView.MenuItems>
<NavigationViewItem Content="It works...">
<NavigationViewItem.Icon>
<iconPacks:PathIconTypicons Kind="ThumbsUp" />
</NavigationViewItem.Icon>
</NavigationViewItem>
<NavigationViewItem Content="Cool">
<NavigationViewItem.Icon>
<iconPacks:PathIconFontAwesome Kind="FlagSolid" Foreground="Crimson" />
</NavigationViewItem.Icon>
</NavigationViewItem>
</NavigationView.MenuItems>
</NavigationView>

Note: The PathIconFeatherIcons is currently not available, because the path data uses stroke releated data instead fill data. It's not possible to set any stroke related data on the PathIcon control.