TelerikBarcode
A component that renders machine-readable barcodes. Configure value and symbology in markup; integrates with the DataViz pipeline and initializes via InitWidgetMethodName to update on parameter changes.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikBarcode : DataVizComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentDataVizComponentTelerikBarcode
Implements:
Inherited Members
Constructors
public TelerikBarcode()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
Properties
The background of the barcode area. Any valid CSS color string will work here, including hex and rgb.
[Parameter]
public string Background { get; set; }
If set to true, the Barcode will display the checksum digit next to the value in the text area.
[Parameter]
public bool? Checksum { get; set; }
The color of the bar elements. Any valid CSS color string will work here, including hex and rgb.
[Parameter]
public string Color { get; set; }
Sets the preferred rendering engine. If it is not supported by the browser, the Barcode will switch to the first available mode.The supported values are: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available.
[Parameter]
public RenderingMode? RenderAs { get; set; }
The symbology (encoding) the barcode will use.The supported values are: EAN8; EAN13; UPCE; UPCA; Code11; Code39; Code39Extended; Code93; Code93Extended; Code128; Code128A; Code128B; Code128C; GS1-128; MSImod10; MSImod11; MSImod1010; MSImod1110 or POSTNET.
[Parameter]
public BarcodeType? Type { get; set; }