Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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>

2019年12月18日_09h46_25

2019年12月18日_09h46_38

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.

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /