WPF.FontIconSource
1.0.0
dotnet add package WPF.FontIconSource --version 1.0.0
NuGet\Install-Package WPF.FontIconSource -Version 1.0.0
<PackageReference Include="WPF.FontIconSource" Version="1.0.0" />
paket add WPF.FontIconSource --version 1.0.0
#r "nuget: WPF.FontIconSource, 1.0.0"
// Install WPF.FontIconSource as a Cake Addin
#addin nuget:?package=WPF.FontIconSource&version=1.0.0
// Install WPF.FontIconSource as a Cake Tool
#tool nuget:?package=WPF.FontIconSource&version=1.0.0
I recently worked on using a ribbon in a WPF application. The problem is that the ribbon only permits to use ImageSource to display icons. My aim is to use a font icon library (like in HTML) because it contains vector icons and the final application is homogeneous.
In the sample, you will find the Font:
FontAwesome: https://fortawesome.github.io/Font-Awesome/
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,612 | 5/21/2014 |
To display an icon from a font:
Collapse | Copy Code
<RibbonButton Label="Import data"
LargeImageSource="{WpfTools:ImageFromFont Text=,
FontFamily=/RibbonFontIconSample;component/Resources/#FontAwesome, Brush=Brown}" />