All Projects → MartinTopfstedt → FontAwesome5

MartinTopfstedt / FontAwesome5

Licence: MIT license
WPF controls for the iconic SVG, font, and CSS toolkit Font Awesome 5.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to FontAwesome5

Mahapps.metro.iconpacks
Awesome icon packs for WPF and UWP in one library
Stars: ✭ 1,157 (+1144.09%)
Mutual labels:  uwp, fontawesome, wpf
AwesomeBadge
a view class as Like a badge using fontawesome 5.
Stars: ✭ 17 (-81.72%)
Mutual labels:  fontawesome, fontawesome5
fontawesome-subset
Creates subsets of FontAwesome fonts for optimized use on the web.
Stars: ✭ 41 (-55.91%)
Mutual labels:  fontawesome, fontawesome5
XamlIslands
Repository with several XAML Islands v1 samples (Win32, WPF, and WinForms) to demonstrate how to use it.
Stars: ✭ 47 (-49.46%)
Mutual labels:  uwp, wpf
Camelotia
Cross-platform .NET sample GUI app for cloud file management. Built with ReactiveUI, AvaloniaUI, Universal Windows Platform, Xamarin Forms, and WPF, runs on Windows, Linux, Mac and Android.
Stars: ✭ 221 (+137.63%)
Mutual labels:  uwp, wpf
EyesGuard
👀 Windows Application for protecting your eyes
Stars: ✭ 217 (+133.33%)
Mutual labels:  uwp, wpf
DebounceMonitoring
📑 Add debounce logic for any method in a single line.
Stars: ✭ 44 (-52.69%)
Mutual labels:  uwp, wpf
Gridextra
Custom panel controls for WPF/UWP.
Stars: ✭ 149 (+60.22%)
Mutual labels:  uwp, wpf
fa-svelte
Font Awesome 5 for svelte.js
Stars: ✭ 72 (-22.58%)
Mutual labels:  fontawesome, fontawesome5
Microsoft.Toolkit.Win32
This repository contains all controls for WPF and WinForms to simplify and demonstrate usage of UWP controls
Stars: ✭ 345 (+270.97%)
Mutual labels:  uwp, wpf
fa5pro-downloader
A tool that allows you to download Font Awesome 5 Pro for free
Stars: ✭ 34 (-63.44%)
Mutual labels:  fontawesome, fontawesome5
WindowsCommunityToolkit
The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building UWP and .NET apps for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation.
Stars: ✭ 4,934 (+5205.38%)
Mutual labels:  uwp, wpf
Caliburn.micro
A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
Stars: ✭ 2,404 (+2484.95%)
Mutual labels:  uwp, wpf
AsteroidsWasm
Collection of applications based on a single C# .NET Standard project running in: Blazor Client (WebAssembly), Blazor Server, Electron, WPF, WinForms, Xamarin
Stars: ✭ 136 (+46.24%)
Mutual labels:  uwp, wpf
Microsoft.maui.graphics
Stars: ✭ 160 (+72.04%)
Mutual labels:  uwp, wpf
IconPacks.Browser
The Browser for all available Icon packages from MahApps.Metro.IconPacks
Stars: ✭ 74 (-20.43%)
Mutual labels:  uwp, wpf
ecommerce-template
This is a simple and easy to integrate e-commerce design template based on Bootstrap 5.
Stars: ✭ 34 (-63.44%)
Mutual labels:  fontawesome, fontawesome5
Arcgis Toolkit Dotnet
Toolkit for ArcGIS Runtime SDK for .NET
Stars: ✭ 125 (+34.41%)
Mutual labels:  uwp, wpf
Mvvmvalidation
Lightweight library that helps reduce boilerplate when implementing validation in XAML MVVM applications
Stars: ✭ 141 (+51.61%)
Mutual labels:  uwp, wpf
WinDev-Utility
A utility for windows developers
Stars: ✭ 17 (-81.72%)
Mutual labels:  uwp, wpf

FontAwesome 6 is out. -> Check out https://github.com/MartinTopfstedt/FontAwesome6

FontAwesome5

Build Status

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

  1. Install the FontAwesome5 NuGet Package: Install-Package FontAwesome5

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.

<Window x:Class="FontAwesome5.WPF.Example"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:fa5="http://schemas.fontawesome.com/icons/"
        Title="FontAwesome5.WPF.Example" Height="300" Width="300">
    <Grid  Margin="20">
        <fa5:SvgAwesome Icon="Solid_Flag" VerticalAlignment="Center" HorizontalAlignment="Center" />
    </Grid>
</Window>

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:

<Window x:Class="FontAwesome5.WPF.Example"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:fa5="http://schemas.fontawesome.com/icons/"
        Title="FontAwesome5.WPF.Example" Height="300" Width="300">
    <Window.Resources>
        <fa5:LabelConverter x:Key="LabelConverter"/>
    </Window.Resources>
    <Grid  Margin="20">        
        <TextBlock Text="{Binding EFontAwesomeIcon, Converter={StaticResource LabelConverter}}"/>                
        <TextBlock Text="{Binding EFontAwesomeIcon, Converter={StaticResource LabelConverter}, ConverterParameter='{}{0} ({1})'}"/>
    </Grid>
</Window>

StyleConverter

Gets the EFontAwesomeStyle of a EFontAwesomeIcon.

Example:

<Window x:Class="FontAwesome5.WPF.Example"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:fa5="http://schemas.fontawesome.com/icons/"
        Title="FontAwesome5.WPF.Example" Height="300" Width="300">
    <Window.Resources>
        <fa5:StyleConverter x:Key="StyleConverter"/>
    </Window.Resources>
    <Grid  Margin="20">        
        <TextBlock Text="{Binding EFontAwesomeIcon, Converter={StaticResource StyleConverter}}"/>                
    </Grid>
</Window>

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].