Learn how to get started with the .NET MAUI barcode component for easy support of scanning.
What if all this technological evolution … ends up taking my job?
It’s one of the most common questions when talking about new tools or integrating existing ones. But that’s where the real mistake lies: seeing them as enemies. In reality, technology is here to support and accelerate our work—not replace us.
Today, there are still many manual processes that could be optimized with the right tools. And what do we gain from that? Getting more done in less time, reducing errors and focusing on what truly adds value.
A clear example of this can be found in many retail companies. Imagine employees spending hours generating and manually typing the codes for thousands of products. But what if, instead, they could simply generate and scan those barcodes using an app?
It would be a game-changer: faster workflows, fewer errors and much less stress.
Because yes, we’re not just talking about speed—we’re talking about precision. A scanner won’t mistype a digit like a human might when entering data quickly. And in environments where a small error can cost time or money, that makes all the difference.
In this article, I’ll show you how barcodes can help streamline inventory and order management. I’ll also introduce you to a .NET MAUI Barcode control you can easily integrate into your apps using Progress Telerik UI for .NET MAUI.
As developers, we must stay ahead of the curve and continuously add value to the applications we build. That’s why today you’ll learn much more about barcodes and how they can enhance the functionality of your apps.
It’s a visual representation of data that can be read by a scanner. Among its main functions are product identification, inventory tracking, streamlining payments or check-ins, and much more. You can also customize it by setting the foreground and background colors to match your app’s design.
There are different types of barcodes, and the Telerik Barcode control supports a wide variety of them. Below, you’ll find a graphical representation of each one, along with a brief description of when to use them.
The barcodes that you can create using the Progress Telerik Barcode control are the ones shown in the image. Let’s take a closer look at each of them:
The Swiss QR Code is a type of code specifically designed for payments in Switzerland, meaning it includes all the necessary information and complies with regulatory requirements to perform transactions in a structured and secure way.
There are three ways to adjust the barcode size:
Now that you’ve seen everything this can do, let’s walk through how to bring it to life in your own app. Getting started is easy—just follow a few simple steps using Telerik UI for .NET MAUI free trial:
Once everything’s ready, you’re all set to start building!
Open your XAML file and add this line to include the Telerik controls:
xmlns:telerik="[http://schemas.telerik.com/2022/xaml/maui](http://schemas.telerik.com/2022/xaml/maui)"
Go to your MauiProgram.cs file, and inside the CreateMauiApp method, make sure to register Telerik by adding the .UseTelerik() extension method. It’s recommended to place it above the .UseMauiApp() line, like this:
using Telerik.Maui.Controls.Compatibility;
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseTelerik()
.UseMauiApp<App>()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
});
return builder.Build();
}
}
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
<telerik:RadBarcode x:Name="barcode"
AutomationId="barcode"
Value="https://www.telerik.com/maui-ui">
<telerik:RadBarcode.Symbology>
<telerik:QRCode SizingMode="Stretch" />
</telerik:RadBarcode.Symbology>
</telerik:RadBarcode>
To specify the type of barcode you need in your app, you can refer to the available formats mentioned above. For example, let’s do it using the Code39 type:
<telerik:RadBarcode
WidthRequest="200"
HeightRequest="100"
HorizontalOptions="Center"
VerticalOptions="Center"
Value="58000106">
<telerik:RadBarcode.Symbology>
<telerik:Code39 HorizontalTextAlignment="Center"
SizingMode="Stretch"
ShowText="True"
CodeTextSpacing="10"/>
</telerik:RadBarcode.Symbology>
</telerik:RadBarcode>
And that’s it! ๐ With these simple steps, you’ve learned how to implement the Telerik Barcode control in your .NET MAUI applications. You also discovered its various use cases and the different barcode types available.
Go ahead and start integrating them into your apps from now on!
Thanks for reading! ๐๐
Leomaris Reyes is a Software Engineer from the Dominican Republic, with more than 5 years of experience. A Xamarin Certified Mobile Developer, she is also the founder of Stemelle, an entity that works with software developers, training and mentoring with a main goal of including women in Tech. Leomaris really loves learning new things! ๐๐ You can follow her: Twitter, LinkedIn , AskXammy and Medium.