In our fifth .NET MAUI Challenge, we’ll check out the Telerik UI for .NET MAUI Barcode component.
Howdy! πβοΈ Welcome to #NetMauiChallenges! Thank you very much for accepting this challenge! π These posts will be launched periodically and will be exploring topics that will help you continue to grow in .NET MAUI!
You will see that the challenges focus on simple and very specific but important topics. The goal here is that you can take the time to delve into each one. We want learning to be fun for you, so regardless of the day and the time you are viewing this article, it will only take a few minutes!
Each challenge has a structure that is easy to understand and that complies with three important points to be of real help for your professional development:
π Statement of the challenge: You will always see an image which gives you a description of what the challenge expects from you. After this, you will see three possible answers from which you can only select one.
π Solution: In each challenge, you will receive the option that solves the question. It will be hidden so that you first analyze it and then click to see the correct answer with its respective explanation.
π Study resources: Once you see the correct answer, each challenge’s solution will have study resources so you can delve deeper into it.
You can watch a video version of this post here:
The Telerik UI for .NET MAUI Barcode enables you to create and show barcodes. You can generate and visualize barcodes in a machine-readable format through the Barcode control by providing numeric or character data.
In this challenge, we will learn to interpret the code and to recognize the types of barcode available!
What result does this code return?
<telerik:RadBarcode
WidthRequest="200"
HeightRequest="100"
Value="58000106">
<telerik:RadBarcode.Symbology>
<telerik:Code39
HorizontalTextAlignment="Center"
SizingMode="Stretch"
ShowText="True"
CodeTextSpacing="10"/>
</telerik:RadBarcode.Symbology>
</telerik:RadBarcode>
Option A:
Option B:
Option C:
Do you already have the answer? Perfect! Please click below to see the solution—here you can see the correct answer and its explanation with supporting materials.
The correct answer is option B! π₯
The correct answer is B due to the following points:
As you can see in the attached portion of code, it refers to a Code39 symbology, which you can identify with the line of code <telerik:Code39>
, and you can see that in Option B.
We invite you to share this challenge on your networks using the hashtag #NetMauiChallenges.
See you next time! πβοΈ I hope you liked it and it was useful!
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.