https://github.com/SyncfusionExamples/Icon-font-support-in-Xamarin-SfBadgeView
The sample demonstrates how to integrate icon fonts with the SfBadgeView control in Xamarin applications.
https://github.com/SyncfusionExamples/Icon-font-support-in-Xamarin-SfBadgeView
badge badge-view icon-font xamarin xamarin-forms xforms
Last synced: about 1 year ago
JSON representation
The sample demonstrates how to integrate icon fonts with the SfBadgeView control in Xamarin applications.
- Host: GitHub
- URL: https://github.com/SyncfusionExamples/Icon-font-support-in-Xamarin-SfBadgeView
- Owner: SyncfusionExamples
- Created: 2020-03-31T13:22:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-15T12:07:27.000Z (over 2 years ago)
- Last Synced: 2024-04-14T12:07:08.910Z (about 2 years ago)
- Topics: badge, badge-view, icon-font, xamarin, xamarin-forms, xforms
- Language: C#
- Homepage:
- Size: 815 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Icon font support in Xamarin SfBadgeView
This repository contains sample to add a custom icon to the badge using the font icon in the [Syncfusion Xamarin.Forms Badge View](https://help.syncfusion.com/xamarin/badge-view/getting-started) control.
Please refer the KB through this [link](https://www.syncfusion.com/kb/11338/how-to-add-a-custom-icon-to-the-badge-in-xamarin-forms-badge-view-sfbadgeview).
## Syncfusion controls:
This project used the following Syncfusion control(s):
* [SfBadgeView](https://www.syncfusion.com/xamarin-ui-controls/xamarin-badge-view)
## Supported platforms
| Platforms | Supported versions |
| --------- | ------------------ |
| Android | API level 21 and later versions |
| iOS | iOS 9.0 and later versions |
| UWP | Windows 10 devices |
## Requirements to run the sample
* [Visual Studio](https://visualstudio.microsoft.com/downloads/) or [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/)
Refer to the following link for more details - [System Requirements](https://help.syncfusion.com/xamarin/system-requirements)
## How to run the sample
1. Clone the sample and open it in Visual Studio.
*Note: If you download the sample using the "Download ZIP" option, right-click it, select Properties, and then select Unblock.*
2. Register your license key in the App.xaml.cs file as demonstrated in the following code.
public App()
{
//Register Syncfusion license
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");
InitializeComponent();
MainPage = new App1.MainPage();
}
Refer to this [link](https://help.syncfusion.com/xamarin/licensing/overview) for more details.
3. Clean and build the application.
4. Run the application.
## License
Syncfusion has no liability for any damage or consequence that may arise by using or viewing the samples. The samples are for demonstrative purposes, and if you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage that is related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion’s samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion’s samples.