Syncfusion.Maui.Barcode
35.1.43
Prefix Reserved
dotnet add package Syncfusion.Maui.Barcode --version 35.1.43
NuGet\Install-Package Syncfusion.Maui.Barcode -Version 35.1.43
<PackageReference Include="Syncfusion.Maui.Barcode" Version="35.1.43" />
<PackageVersion Include="Syncfusion.Maui.Barcode" Version="35.1.43" />
<PackageReference Include="Syncfusion.Maui.Barcode" />
paket add Syncfusion.Maui.Barcode --version 35.1.43
#r "nuget: Syncfusion.Maui.Barcode, 35.1.43"
#:package Syncfusion.Maui.Barcode@35.1.43
#addin nuget:?package=Syncfusion.Maui.Barcode&version=35.1.43
#tool nuget:?package=Syncfusion.Maui.Barcode&version=35.1.43
Syncfusion .NET MAUI Barcode Generator (SfBarcodeGenerator)
The Syncfusion .NET MAUI Barcode Generator is a comprehensive barcode generation component for creating and displaying machine-readable barcodes. Build rich, interactive barcode applications for Android, iOS, macOS, and Windows from a single codebase. Supporting 14 symbologies—8 linear and 6 matrix types—you can encode any data with customizable styling and export capabilities.
Documentation · Getting Started · API Reference · Demos on GitHub · Product Page · Release Notes
Using this package with an AI coding agent
Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:
Set up this project for Syncfusion before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com, then report the detected platform, installed skill pack, MCP status, and any required licensing action.The setup detects your project’s platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.
Platform reference: https://ai.syncfusion.com/maui/llms.txt
Key features
Barcode Symbologies (14 Total)
- Linear (8): Code128, Code39, Code93, Codabar, EAN13, EAN8, UPC-A, UPC-E
- Matrix (6): QRCode, DataMatrix, PDF417, Aztec, Micro QR, MaxiCode
Data encoding and customization
- Encode any text data into machine-readable format
- Automatic data validation and error handling
- Customizable bar width, height, and colors
- Display optional text labels below barcodes
- Full control over appearance and styling
Interaction
- Tap to copy: Copy barcode data to clipboard
- Export support: Save barcodes as PNG/JPG images
- Real-time updates: Dynamic value changes with smooth transitions
- Multi-symbology support: Easy switching between barcode types
Performance
- Optimized rendering for fast barcode generation
- Efficient encoding algorithms
- Responsive handling of large batch operations
- Hardware-accelerated image export
More
- Export to Image: Export barcodes as PNG/JPG files with customizable quality
- Right-to-left (RTL) support and localization
- Accessibility support for inclusive applications
- Error detection and correction for matrix codes (QR, DataMatrix, etc.)
Supported platforms
| Platform | Target framework |
|---|---|
| Android | net9.0-android, net10.0-android |
| iOS | net9.0-ios, net10.0-ios |
| macOS (Mac Catalyst) | net9.0-maccatalyst, net10.0-maccatalyst |
| Windows | net9.0-windows10.0.19041, net10.0-windows10.0.19041 |
Minimum OS versions follow the .NET MAUI supported platforms.
Installation
.NET CLI
dotnet add package Syncfusion.Maui.Barcode
Package Manager Console
Install-Package Syncfusion.Maui.Barcode
Getting started
1. Register the Syncfusion core handler
In MauiProgram.cs, call ConfigureSyncfusionCore():
using Syncfusion.Maui.Core.Hosting;
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.ConfigureSyncfusionCore();
return builder.Build();
}
}
2. Create a model and a ViewModel
using System.Collections.ObjectModel;
public class BarcodeData
{
public string Value { get; set; }
public string Symbology { get; set; }
}
public class BarcodeViewModel
{
public string BarcodeValue { get; set; }
public ObservableCollection<string> AvailableSymbologies { get; set; }
public BarcodeViewModel()
{
BarcodeValue = "123456789";
AvailableSymbologies = new ObservableCollection<string>
{
"Code128", "QRCode", "DataMatrix", "Code39"
};
}
}
3. Add SfBarcodeGenerator to your page
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:syncfusion="clr-namespace:Syncfusion.Maui.Barcode;assembly=Syncfusion.Maui.Barcode"
xmlns:local="clr-namespace:YourAppNamespace"
x:Class="YourAppNamespace.MainPage">
<ContentPage.BindingContext>
<local:BarcodeViewModel />
</ContentPage.BindingContext>
<VerticalStackLayout Padding="20" Spacing="10">
<syncfusion:SfBarcodeGenerator Value="{Binding BarcodeValue}"
Symbology="Code128"
HeightRequest="150" />
</VerticalStackLayout>
</ContentPage>
Run the app to see your barcode in action. For more features and detailed examples, see the Barcode documentation.
Barcode Symbology Reference
Linear Barcodes (1D)
| Symbology | Use Case | Character Set | Example |
|---|---|---|---|
| Code128 | General purpose, variable length | Numeric, ASCII | Shipping labels, invoices |
| Code39 | Industrial, alphanumeric | 0-9, A-Z, symbols | Inventory tracking |
| Code93 | Improved Code39 | 0-9, A-Z, symbols | Document control |
| Codabar | Library, medical, retail | 0-9, dash, dollar, colon | Blood bank labels |
| EAN13 | Retail products (13-digit) | Numeric only | Product barcodes |
| EAN8 | Retail products (8-digit) | Numeric only | Small product codes |
| UPC-A | US retail products (12-digit) | Numeric only | US product identification |
| UPC-E | Compressed UPC-A (6-digit) | Numeric only | Compact product codes |
Matrix Barcodes (2D)
| Symbology | Capacity | Error Correction | Use Case |
|---|---|---|---|
| QRCode | High capacity | Yes (4 levels) | URLs, contact info, mobile payments |
| DataMatrix | Medium capacity | Yes | Small labels, circuit boards, marking |
| PDF417 | Very high capacity | Yes | ID cards, airline boarding, documents |
| Aztec | High capacity | Yes | Tickets, documents, transit |
| Micro QR | Small data | Yes | Component marking, labels |
| MaxiCode | Very high capacity | Yes | USPS shipping labels |
Dependencies
Installing this package also installs the following packages:
Microsoft.Maui.ControlsSyncfusion.Maui.Core
System Requirements
Support and feedback
- Support tickets: Syncfusion Support Portal
- Community forums: .NET MAUI Forums
- Feature requests and bug reports: Feedback Portal
- Samples: Syncfusion .NET MAUI demos on GitHub
License
This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.
About Syncfusion
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 26,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
Today, we provide 1600+ components and frameworks for web (Blazor, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Flutter), mobile (.NET MAUI, Xamarin, Flutter, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, Flutter and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net9.0-windows10.0.19041 is compatible. net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios26.0 is compatible. net10.0-maccatalyst was computed. net10.0-maccatalyst26.0 is compatible. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net10.0-windows10.0.19041 is compatible. |
-
net10.0
- Microsoft.Maui.Controls (>= 10.0.0)
- Syncfusion.Maui.Core (>= 35.1.43)
-
net10.0-android36.0
- Microsoft.Maui.Controls (>= 10.0.0)
- Syncfusion.Maui.Core (>= 35.1.43)
-
net10.0-ios26.0
- Microsoft.Maui.Controls (>= 10.0.0)
- Syncfusion.Maui.Core (>= 35.1.43)
-
net10.0-maccatalyst26.0
- Microsoft.Maui.Controls (>= 10.0.0)
- Syncfusion.Maui.Core (>= 35.1.43)
-
net10.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 10.0.0)
- Syncfusion.Maui.Core (>= 35.1.43)
-
net9.0
- Microsoft.Maui.Controls (>= 9.0.111)
- Syncfusion.Maui.Core (>= 35.1.43)
-
net9.0-android35.0
- Microsoft.Maui.Controls (>= 9.0.111)
- Syncfusion.Maui.Core (>= 35.1.43)
-
net9.0-ios18.0
- Microsoft.Maui.Controls (>= 9.0.111)
- Syncfusion.Maui.Core (>= 35.1.43)
-
net9.0-maccatalyst18.0
- Microsoft.Maui.Controls (>= 9.0.111)
- Syncfusion.Maui.Core (>= 35.1.43)
-
net9.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 9.0.111)
- Syncfusion.Maui.Core (>= 35.1.43)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Syncfusion.Maui.Barcode:
| Package | Downloads |
|---|---|
|
SharedMauiXamlStylesLibrary.Syncfusion
A collection of predefined Control styles for MAUI and Syncfusion. |
|
|
Cyber.FrameworkNet8_FutaHaSon
Phiên bản FTHS khách hàng phát triển trên nền tảng .Net Maui |
|
|
Syncfusion.Maui.A2UI
This package provides the functionality to utilize the features of Syncfusion® .Net Maui A2UI controls and more. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Syncfusion.Maui.Barcode:
| Repository | Stars |
|---|---|
|
syncfusion/maui-demos
This repository contains the Syncfusion .NET MAUI control’s samples and the guide to use them
|
|
|
Strypper/mauisland
MAUIsland 🏝️ is the number 1 controls gallery for .NET MAUI
|
| Version | Downloads | Last Updated |
|---|---|---|
| 35.1.43 | 140 | 11/2/2026 |
| 35.1.42 | 260 | 10/27/2026 |
| 35.1.41 | 366 | 10/20/2026 |
| 35.1.40 | 228 | 10/13/2026 |
| 35.1.39 | 341 | 10/6/2026 |
| 35.1.37 | 238 | 9/29/2026 |
| 34.2.9 | 382 | 9/21/2026 |
| 34.2.8 | 249 | 9/14/2026 |
| 34.2.7 | 351 | 9/8/2026 |
| 34.2.6 | 286 | 8/31/2026 |
| 34.2.5 | 541 | 8/25/2026 |
| 34.2.4 | 398 | 8/17/2026 |
| 34.2.3 | 1,003 | 8/11/2026 |
| 34.2.2 | 260 | 8/5/2026 |
| 34.1.33 | 495 | 7/27/2026 |
| 34.1.32 | 269 | 7/21/2026 |
| 34.1.31 | 1,048 | 7/14/2026 |
| 34.1.30 | 265 | 7/9/2026 |
| 34.1.29 | 201 | 7/6/2026 |
| 33.2.15 | 539 | 6/23/2026 |