New to Telerik UI for .NET MAUI? Start a free 30-day trial

Value and Symbology in .NET MAUI Barcode

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.

<telerik:RadBarcode WidthRequest="200" HeightRequest="100" 
    HorizontalOptions="Center" VerticalOptions="Center"
        <telerik:Code39 HorizontalTextAlignment="Center"

2. Add the telerik namespace.


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

Barcode Symbology

See Also

In this article