-
Notifications
You must be signed in to change notification settings - Fork 1
Using Icons
Chris Perry edited this page Jan 11, 2024
·
1 revision
Icons in the FocusApp application are a collection of Unicode escape sequence properties defined as two classes with properties for each icon.
- They're found at the namespace:
FocusApp.Resources.FontAwesomeIcons
- All icons are from Font Awesome
- If you're looking for an icon to use you can find its name using the search tool at fontawesome.com
- There are two collections of icon types
-
SolidIcons (Font Awesome
Solid
pack) -
LineArtIcons (Font Awesome
Regular
pack)
-
SolidIcons (Font Awesome
- The files were generated using this tool for translating IconFont into C# code
FocusApp.Resouces.FontAwesomeIcons.{IconPack}.{IconName}
using FocusApp.Resources.FontAwesomeIcons
...
new Label
{
Text = SolidIcons.Anchor,
FontFamily = nameof(SolidIcons)
},
new Label
{
Text = SolidIcons.Anchor,
FontFamily = nameof(LineArtIcons)
}
...