New to Telerik UI for .NET MAUIStart a free 30-day trial

Value and Symbology in .NET MAUI Barcode

Updated on Jun 25, 2026

Barcode exposes a Value property that is used to set the barcode data presented by the control. The Value of the barcode is of type string and the allowed length depends on the symbology you choose.

To set the symbology that will be used to convert the Value of the control into a visual barcode representation, use its Symbology property.

The most common symbologies that are supported by Barcode are:

  • EAN13
  • EAN8
  • UPC-A
  • UPC-E
  • Code39
  • QRCode
  • PDF417

For more details on the available Telerik UI for .NET MAUI Barcode symbologies, refer to the articles on supported 1D and 2D Barcode types.

To apply the desired symbology to the Barcode:

.1 Add the symbology you need to the Barcode, for example, the Code39 one.

XAML
<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>

2. Add the telerik namespace.

XAML
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"

The following image shows a barcode with an applied Code39 symbology.

Barcode Symbology

Validation State

The Barcode exposes read-only properties that let you inspect whether the current Value is valid for the selected Symbology:

  • IsValid (bool)—Indicates whether the current barcode value can be encoded with the selected symbology.
  • ErrorMessage (string)—Provides the validation error message when the current value is not valid.

See Also

In this article
Validation StateSee Also
Not finding the help you need?
Contact Support