ClassTelerikBarcode
Telerik UI Barcode component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikBarcode : DataVizComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentDataVizComponentTelerikBarcode
Implements:
Inherited Members
Constructors
TelerikBarcode()
Declaration
public TelerikBarcode()
Properties
Background
The background of the barcode area. Any valid CSS color string will work here, including hex and rgb.
Declaration
[Parameter]
public string Background { get; set; }
Property Value
Checksum
If set to true, the Barcode will display the checksum digit next to the value in the text area.
Color
The color of the bar elements. Any valid CSS color string will work here, including hex and rgb.
RenderAs
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.
Declaration
[Parameter]
public RenderingMode? RenderAs { get; set; }
Property Value
Type
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.
Declaration
[Parameter]
public BarcodeType? Type { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides