Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MartinTopfstedt/FontAwesome5
WPF controls for the iconic SVG, font, and CSS toolkit Font Awesome 5.
https://github.com/MartinTopfstedt/FontAwesome5
List: FontAwesome5
fontawesome fontawesome5 netcore3 uwp wpf
Last synced: 3 months ago
JSON representation
WPF controls for the iconic SVG, font, and CSS toolkit Font Awesome 5.
- Host: GitHub
- URL: https://github.com/MartinTopfstedt/FontAwesome5
- Owner: MartinTopfstedt
- License: mit
- Created: 2018-02-17T16:09:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T13:06:06.000Z (almost 2 years ago)
- Last Synced: 2024-07-24T03:15:50.428Z (4 months ago)
- Topics: fontawesome, fontawesome5, netcore3, uwp, wpf
- Language: C#
- Homepage:
- Size: 5.07 MB
- Stars: 117
- Watchers: 3
- Forks: 23
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-wpf - FontAwesome5 - (FREE, OPEN SOURCE) WPF (.Net and .Net Core) and UWP/WinUI controls for the iconic SVG, font, and CSS toolkit Font Awesome 5. Current Version: v5.15.4 (Fonts / Individual Controls)
README
> **FontAwesome 6 is out.** -> Check out https://github.com/MartinTopfstedt/FontAwesome6
# FontAwesome5
[![Build Status](https://dev.azure.com/codinion/FontAwesome5/_apis/build/status/MartinTopfstedt.FontAwesome5?branchName=master)](https://dev.azure.com/codinion/FontAwesome5/_build/latest?definitionId=11&branchName=master)
WPF (.Net and .Net Core) and UWP/WinUI controls for the iconic SVG, font, and CSS toolkit Font Awesome 5.
Font Awesome: https://github.com/FortAwesome/Font-Awesome
+ Current Version: v5.15.4
# Getting Started
#### Installation
Install the FontAwesome5 NuGet Package: ```Install-Package FontAwesome5```
or
Install the FontAwesome5.WinUI NuGet Package: ```Install-Package FontAwesome5.WinUI```#### Usage XAML
The usage is the same like the version from charri, just the FontAwesomeIcon enumeration has changed to EFontAwesomeIcon and has the Styles included, which means "Flag" changed to "Solid_Flag" or "Regular_Flag", and the name space changed from "http://schemas.fontawesome.io" to "http://schemas.fontawesome.com".
https://github.com/charri/Font-Awesome-WPF/blob/master/README-WPF.md#usage-xaml
#### Usage XAML SVG
The SvgAwesome can be used like the ImageAwesome.
```
```
## Converters (WPF only)
#### ImageSourceConverter
https://github.com/charri/Font-Awesome-WPF/blob/master/README-WPF.md#imagesourceconverter
#### ImageSourceSvgConverter
This is the same like the *ImageSourceConverter*, except it does use the Svg information to draw the icon instead of the font.
#### LabelConverter
Gets the Label/Name of a EFontAwesomeIcon. The converter parameter can contain a format string, where {0} is the label/name and {1} is the style.
Example:
```
```
#### StyleConverter
Gets the EFontAwesomeStyle of a EFontAwesomeIcon.
Example:
```
```
# Credits
* @davegandy: https://github.com/FortAwesome/Font-Awesome
* @charri: https://github.com/charri/Font-Awesome-WPF