Class TelerikBarcode
Telerik UI Barcode component.
Inheritance
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikBarcode : DataVizComponent, IDisposable
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
public string Background { get; set; }
Property Value
System.String
|
Checksum
If set to true, the Barcode will display the checksum digit next to the value in the text area.
Declaration
public Nullable<bool> Checksum { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Color
The color of the bar elements. Any valid CSS color string will work here, including hex and rgb.
Declaration
public string Color { get; set; }
Property Value
System.String
|
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
public Nullable<RenderingMode> RenderAs { get; set; }
Property Value
System.Nullable<RenderingMode>
|
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
public Nullable<BarcodeType> Type { get; set; }
Property Value
System.Nullable<BarcodeType>
|
Value
The initial value of the Barcode
Declaration
public string Value { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRender(Boolean)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean
firstRender
|
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()