New to Telerik UI for WinUI? Download free 30-day trial


The Barcode component allows you to customize its appearance.

To change the colors of the symbology visualization and the background behind it, set the Foreground and Background properties of the component. The telerikDataViz namespace from the following example points to xmlns:telerikDataViz="using:Telerik.UI.Xaml.Controls.DataVisualization".

Change the Barcode colors

<telerikDataViz:RadBarcode Width="250" Height="150"  
                           Foreground="DarkBlue" Background="Beige" 
        <telerikDataViz:Code39 SizingMode="Stretch" /> 

A Barcode with customized colors

WinUI RadBarcode Barcode Colors

In this article
Not finding the help you need?