Skip to content

PathIcon (UWP only)

Jan Karger edited this page May 8, 2019 · 2 revisions

The PathIcon controls can be used for controls which needs an IconElement derived element for their Icon property like the NavigationViewItem.

<NavigationViewItem>
    <NavigationViewItem.Icon>
        <iconPacks:PathIconTypicons Kind="ThumbsUp" />
    </NavigationViewItem.Icon>
</NavigationViewItem>
<NavigationViewItem>
    <NavigationViewItem.Icon>
        <iconPacks:PathIconFontAwesome Kind="FlagSolid" />
    </NavigationViewItem.Icon>
</NavigationViewItem>

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