IconPack
A complete set of Fluent Icons
All of the icons are available through the source generator and can be included
with a simple [IconPack] attribute.
This generates:
Iconsenum with ≈ 1,500 iconsIconMapdictionary to convert enum → glyphAsGlyph()extension methodGet()accessor
To activate, create a blank partial class:
[IconPack]
public partial class AppIcons { }
That's it - The generator will do the rest, and Icons are now available globally.
Using an icon
<TextBlock FontFamily="Segoe MDL2 Assets"
Text="{x:Static local:Icons.Save.AsGlyph}" />
or in C#:
var glyph = Icons.Save.AsGlyph();